-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·84 lines (84 loc) · 2.23 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
{
"name": "jest-puppeteer-utils",
"version": "2.0.0",
"license": "MIT",
"description": "Jest-puppeteer aux utils",
"repository": "github:yyynnn/jest-puppeteer-utils",
"keywords": [
"jest",
"puppeteer",
"jest-puppeteer"
],
"main": "lib/index.js",
"module": "es/index.js",
"types": "src/index.d.ts",
"files": [
"lib",
"es",
"src",
"dist"
],
"scripts": {
"clean": "rimraf lib dist es",
"prepare": "npm run clean && npm run build",
"build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min && npm run build:es",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
"build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development npx webpack",
"build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production npx webpack"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "echo PRE PUSH"
}
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix",
"prettier --write",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"prettier": {
"arrowParens": "always",
"proseWrap": "always",
"singleQuote": true,
"trailingComma": "all"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-object-rest-spread": "^7.6.2",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.5.5",
"@babel/register": "^7.5.5",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"babel-loader": "^8.0.6",
"chai": "^4.2.0",
"cross-env": "^5.2.0",
"eslint": "^6.5.1",
"eslint-config-airbnb": "18.0.1",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.15.1",
"husky": "^3.0.4",
"lint-staged": "^9.2.5",
"mocha": "^6.2.0",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"typescript": "^3.6.2",
"webpack": "^4.39.3",
"webpack-cli": "^3.3.7"
},
"dependencies": {
"@babel/runtime": "^7.6.2"
}
}