-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) 路 2.17 KB
/
Copy pathpackage.json
File metadata and controls
79 lines (79 loc) 路 2.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"name": "use-list-transform",
"version": "0.2.2",
"description": "馃 Filter, sort, manipulate your arrays in a react hook.",
"main": "./dist/index.js",
"module": "./esm/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**",
"esm/**"
],
"keywords": [
"react",
"hooks",
"array",
"transform"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs",
"build:cjs": "ncc build src/index.ts -o dist -m -e react",
"build:esm": "tsc --target ESNext --module ES6 --outDir esm",
"watch": "tsc --watch",
"types:check": "tsc --noEmit",
"format": "prettier --write \"{src,test,examples}/**/*.{ts,tsx}\"",
"lint": "eslint \"{src,test,examples}/**/*.{ts,tsx}\"",
"lint:fix": "eslint \"{src,test,examples}/**/*.{ts,tsx}\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"coverage": "jest --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ljbc1994/use-list-transform.git"
},
"author": "@ljbc1994",
"license": "MIT",
"bugs": {
"url": "https://github.com/ljbc1994/use-list-transform/issues"
},
"homepage": "https://github.com/ljbc1994/use-list-transform#readme",
"devDependencies": {
"@testing-library/react": "^10.0.4",
"@testing-library/react-hooks": "^3.2.1",
"@types/jest": "^25.2.2",
"@types/node": "11.12.0",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@typescript-eslint/eslint-plugin": "2.5.0",
"@typescript-eslint/parser": "2.5.0",
"@zeit/ncc": "^0.22.2",
"coveralls": "^3.1.0",
"eslint": "6.6.0",
"eslint-config-prettier": "6.5.0",
"eslint-plugin-react-hooks": "^4.0.2",
"husky": "2.4.1",
"jest": "^26.0.1",
"lint-staged": "^10.2.4",
"prettier": "^2.0.5",
"react-dom": "^16.13.1",
"react": "^16.13.1",
"react-test-renderer": "^16.13.1",
"ts-jest": "^26.0.0",
"typescript": "^3.9.2"
},
"peerDependencies": {
"react": "^16.8.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run types:check && npm run test && lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run lint:fix",
"npm run format"
]
}
}