-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.56 KB
/
package.json
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
{
"name": "isabellae",
"version": "1.0.2",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"files": [
"dist/**"
],
"repository": "https://github.com/Alkaids/isabellae.git",
"author": "jinxin0112 <[email protected]>",
"license": "MIT",
"scripts": {
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --outDir dist/cjs",
"build:esm": "tsc --target ES5 --module ES6 --outDir dist/esm",
"types:check": "tsc --noEmit",
"format": "prettier --write \"{src,test}/**/*.{ts,tsx}\" ",
"lint": "eslint \"{src,test}/**/*.{ts,tsx}\"",
"lint:fix": "eslint \"{src,test}/**/*.{ts,tsx}\" --fix",
"test": "jest",
"pub": "npm run build && np --no-yarn --no-cleanup"
},
"devDependencies": {
"@testing-library/react": "9.4.0",
"@types/jest": "24.0.25",
"@types/node": "13.1.2",
"@types/react": "16.9.17",
"@typescript-eslint/eslint-plugin": "2.14.0",
"@typescript-eslint/parser": "2.14.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.9.0",
"fsevents": "1.2.9",
"husky": "3.1.0",
"jest": "24.9.0",
"lint-staged": "9.5.0",
"np": "^5.2.1",
"prettier": "1.19.1",
"react-dom": "16.12.0",
"ts-jest": "24.2.0",
"typescript": "3.7.4"
},
"peerDependencies": {
"react": "^16.11.0"
},
"husky": {
"hooks": {
"pre-commit": "npm run types:check && lint-staged"
}
},
"lint-staged": {
"*.{ts, tsx}": [
"npm run lint:fix",
"npm run format",
"git add"
]
},
"dependencies": {
"invariant": "2.2.4"
}
}