-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
67 lines (67 loc) · 1.54 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
{
"name": "immutable-component",
"version": "2.1.1",
"description": "immutable-component to make state immutable",
"keywords": [
"component",
"immutable"
],
"license": "MIT",
"author": "ustccjw",
"main": "lib/index.js",
"module": "es/index.js",
"repository": {
"type": "git",
"url": "https://github.com/ustccjw/immutable-component"
},
"scripts": {
"build": "npm run clean && npm run compile && npm run compile:es",
"clean": "rimraf lib es",
"precommit": "lint-staged",
"commitmsg": "commitlint -e",
"compile": "cp -rf src lib && BABEL_ENV=common babel lib -d lib",
"compile:es": "cp -rf src es && BABEL_ENV=es babel es -d es",
"lint": "eslint .",
"prepublishOnly": "npm run test && npm run build",
"test": "jest"
},
"dependencies": {
"immer": "1.10.5"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.40",
"@babel/core": "^7.0.0-beta.40",
"@commitlint/cli": "6",
"@commitlint/config-angular": "6",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "22",
"babel-preset-ustccjw": "1",
"eslint": "4",
"eslint-config-ustccjw": "1",
"husky": "0.14",
"jest": "22",
"lint-staged": "7",
"react": "15",
"react-test-renderer": "15",
"rimraf": "2"
},
"peerDependencies": {
"react": "15"
},
"engines": {
"node": ">= 8.10.0"
},
"commitlint": {
"extends": [
"@commitlint/config-angular"
]
},
"jest": {
"testMatch": [
"**/test/**/*.js"
]
},
"lint-staged": {
"*.js": "eslint"
}
}