-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.34 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
{
"name": "@acte/mook",
"version": "0.8.2",
"main": "lib/index.js",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"typings": "lib/index.d.ts",
"description": "React store with hooks.",
"license": "MIT",
"private": false,
"keywords":[
"react", "state", "store", "hook"
],
"homepage": "https://github.com/acteq/mook",
"repository": {
"type" : "git",
"url" : "https://github.com/acteq/mook.git"
},
"author": {
"name": "acte",
"email": "acte@foxmail.com"
},
"scripts": {
"clean": "rimraf lib dist es coverage",
"test": "jest",
"lint": "tslint -p tsconfig.json",
"build:commonjs": "cross-env BABEL_ENV=commonjs tsc -m CommonJS -t ES5 --outDir lib",
"build:es": "cross-env BABEL_ENV=es tsc -m ES6 -t ES6 --outDir es",
"build": "yarn run clean && yarn run test && yarn run build:commonjs && yarn run build:es && yarn run build:demo",
"build:demo": "rollup -c",
"start": "yarn run build:commonjs && rollup -c rollup.config.dev.js -w "
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.11.4",
"@babel/preset-env": "^7.11.0",
"@babel/preset-react": "^7.10.4",
"@rollup/plugin-babel": "^5.2.0",
"@rollup/plugin-commonjs": "^15.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"@testing-library/dom": "^6.15.0",
"@testing-library/jest-dom": "^4.0.0",
"@testing-library/react": "^9.3.0",
"@testing-library/react-hooks": "^3.4.1",
"@types/jest": "^24.0.18",
"@types/node": "^10.12.24",
"@types/react": "^16.8.0",
"@types/react-dom": "^16.8.0",
"@types/react-test-renderer": "^16.8.0",
"babel-preset-es2015-rollup": "^3.0.0",
"cross-env": "^7.0.2",
"husky": "^3.0.9",
"jest": "^24.1.0",
"prettier": "^1.18.2",
"pretty-quick": "^2.0.0",
"react": "^16.8",
"react-dom": "^16.8.0",
"react-test-renderer": "^16.8.0",
"rimraf": "^3.0.2",
"rollup": "^2.26.8",
"rollup-plugin-cpy": "^2.0.1",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-serve": "^1.0.4",
"rollup-plugin-terser": "^7.0.1",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"typescript": "^3.4.5"
},
"dependencies": {},
"peerDependencies": {
"react": "^16.8"
}
}