-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
93 lines (93 loc) · 2.27 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
{
"name": "reaclette",
"version": "0.10.0",
"license": "ISC",
"description": "",
"keywords": [],
"homepage": "https://github.com/JsCommunity/reaclette",
"bugs": "https://github.com/JsCommunity/reaclette/issues",
"repository": {
"type": "git",
"url": "https://github.com/JsCommunity/reaclette"
},
"author": {
"name": "Julien Fontanet",
"email": "julien.fontanet@isonoe.net"
},
"preferGlobal": false,
"main": "dist/",
"files": [
"dist/",
"factory.js"
],
"browserslist": [
">2%"
],
"engines": {
"node": ">=10"
},
"dependencies": {
"make-error": "^1.3.5"
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^26.6.3",
"babel-plugin-lodash": "^3.3.2",
"cross-env": "^7.0.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.0.5",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.0.1",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"raf": "^3.4.0",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"rimraf": "^3.0.0"
},
"peerDependencies": {
"react": ">=15"
},
"scripts": {
"build": "cross-env NODE_ENV=production babel --source-maps --out-dir=dist/ src/",
"clean": "rimraf dist/",
"dev": "cross-env NODE_ENV=development babel --watch --source-maps --out-dir=dist/ src/",
"dev-test": "jest --bail --watch",
"prebuild": "npm run clean",
"predev": "npm run prebuild",
"prepublishOnly": "npm run build",
"pretest": "eslint --ignore-path .gitignore src/",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"jest": {
"collectCoverage": true,
"roots": [
"<rootDir>/src"
],
"testRegex": "\\.spec\\.js$"
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add",
"eslint --ignore-pattern '!*'",
"jest --findRelatedTests --passWithNoTests"
]
}
}