-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
107 lines (107 loc) · 2.96 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "ayanami",
"version": "0.20.1",
"description": "A better way to react with state",
"main": "./dist/index.js",
"module": "./esm/index.js",
"esnext": "./esnext/index.js",
"types": "./esm/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/LeetCode-OpenSource/ayanami.git"
},
"bugs": {
"url": "https://github.com/LeetCode-OpenSource/ayanami/issues"
},
"homepage": "https://github.com/LeetCode-OpenSource/ayanami#readme",
"scripts": {
"check_circular_dependencies": "madge esm/index.js --circular --warning",
"demo": "parcel ./demo/index.html",
"build": "npm-run-all -p build:es5 build:esm build:next",
"build:es5": "shx rm -rf ./dist && tsc -p ./tsconfig.build.json",
"build:esm": "shx rm -rf ./esm && tsc -p ./tsconfig.build.json -m esnext --outDir esm",
"build:next": "shx rm -rf ./esnext && tsc -p ./tsconfig.build.json --target esnext --outDir esnext",
"prettier": "prettier '@(src|demo)/**/*.@(ts|tsx|html|less)' --write",
"lint": "yarn lint:eslint && yarn lint:tsc",
"lint:eslint": "eslint . --ext .ts,.tsx --fix --max-warnings 0",
"lint:tsc": "tsc -p ./tsconfig.json --noEmit",
"test": "jest --collectCoverage",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"yarn lint:eslint",
"git add"
],
"*.{less,html}": [
"prettier --write",
"git add"
]
},
"keywords": [
"React",
"hooks",
"Observables",
"Observable",
"model",
"state",
"Rx",
"RxJS",
"ReactiveX"
],
"author": "LeetCode front-end team",
"license": "MIT",
"dependencies": {
"shallowequal": "^1.1.0"
},
"devDependencies": {
"@asuka/di": "^0.2.0",
"@types/express": "^4.17.0",
"@types/jest": "^26.0.21",
"@types/lodash": "^4.14.136",
"@types/node": "^15.0.1",
"@types/react": "^17.0.3",
"@types/react-dom": "^17.0.2",
"@types/react-test-renderer": "^17.0.1",
"@types/shallowequal": "^1.1.1",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"codecov": "^3.5.0",
"eslint": "7.25.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-react": "^7.21.5",
"husky": "^6.0.0",
"immer": "^9.0.1",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"lodash": "^4.17.15",
"madge": "^4.0.1",
"npm-run-all": "^4.1.5",
"parcel": "^1.12.3",
"prettier": "^2.2.1",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-test-renderer": "^17.0.1",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.5.2",
"shx": "^0.3.2",
"ts-jest": "^26.5.4",
"tslib": "^2.1.0",
"typescript": "^4.2.3"
},
"peerDependencies": {
"@asuka/di": "^0.2.0",
"immer": "^9.0.1",
"lodash": "^4.17.15",
"react": "^17.0.1",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.5.2"
}
}