-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
121 lines (121 loc) · 3.43 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "cube-state",
"version": "1.5.6",
"description": "state management library based on React Hooks",
"main": "dist/index.js",
"module": "dist/index.es.js",
"files": [
"dist",
"README.md",
"README-cn.md"
],
"scripts": {
"prebuild": "rimraf dist",
"build": "rollup -c",
"build:watch": "rimraf dist/* && rollup -c -w",
"format": "prettier --write \"src/**/*.{js,ts,tsx}\"",
"format:check": "prettier --list-different \"src/**/*.{js,ts,tsx}\"",
"lint": "tslint -c tslint.json \"src/**/*.{ts,tsx}\"",
"lint:fix": "tslint -c tslint.json \"src/**/*.{ts,tsx}\" --fix",
"pretest": "tsc __tests__/*.tsx --noEmit --jsx preserve -m None -t ESNext --moduleResolution Node --esModuleInterop --skipLibCheck",
"test": "jest --verbose --coverage",
"test:watch": "jest --watch --verbose",
"prepublishOnly": "npm run copy && npm run editPackage",
"copy": "copyfiles -u 1 src/plugin/* dist",
"editPackage": "json -I -f package.json -e \"this.private=false; this.devDependencies=undefined; this.scripts=undefined; this.husky=undefined; this.commitlint=undefined; this.jest=undefined; this['lint-staged']=undefined;\"",
"release": "npm run build && standard-version"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"{src,__tests__}/*.{js,ts,tsx}": [
"npm run format",
"npm run lint:fix",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/daskyrk/cube-state.git"
},
"keywords": [
"react",
"state",
"management",
"hooks"
],
"author": "daskyrk",
"license": "MIT",
"bugs": {
"url": "https://github.com/daskyrk/cube-state/issues"
},
"homepage": "https://github.com/daskyrk/cube-state#readme",
"jest": {
"testPathIgnorePatterns": [
"/node_modules/",
"jest",
"plugin"
],
"coverageDirectory": "./coverage/",
"collectCoverage": false,
"coverageReporters": [
"json",
"html",
"text",
"text-summary"
],
"collectCoverageFrom": [
"src/**/*.{js,ts,tsx}"
]
},
"dependencies": {
"fast-deep-equal": "^3.1.3",
"immer": "^9.0.12",
"tslib": "^2.3.1"
},
"peerDependencies": {
"react": ">=16.9.0"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/plugin-transform-react-jsx": "^7.17.3",
"@babel/plugin-transform-typescript": "^7.16.8",
"@babel/preset-env": "^7.16.11",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@testing-library/react": "^12.1.3",
"@types/jest": "^27.4.1",
"@types/react": "^17.0.39",
"@types/react-dom": "^17.0.11",
"copyfiles": "^2.4.1",
"coveralls": "^3.1.1",
"husky": "^7.0.4",
"jest": "^27.5.1",
"json": "^11.0.0",
"lint-staged": "^12.3.4",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.68.0",
"rollup-plugin-size-snapshot": "^0.12.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"standard-version": "^9.3.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-plugin-prettier": "^2.3.0",
"tslint-react": "^5.0.0",
"typescript": "^4.5.5"
}
}