-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
84 lines (84 loc) · 2.21 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": "npm-init",
"description": "The npm init starter for Node.js project",
"license": "MIT",
"author": "kpman <s92f002@gmail.com>",
"version": "0.0.0",
"main": "src/index.js",
"scripts": {
"build": "npm run clean && babel src -d lib --ignore __tests__",
"clean": "rimraf lib",
"precommit": "lint-staged",
"lint": "eslint src",
"lint:fix": "npm run lint -- --fix",
"prepublish": "npm run build",
"test": "npm run lint && npm run testonly",
"testonly": "jest --detectOpenHandles",
"testonly:cov": "jest --coverage --runInBand --forceExit --detectOpenHandles",
"testonly:watch": "jest --runInBand --watch --detectOpenHandles",
"preversion": "npm run test"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.51",
"@babel/core": "^7.0.0-beta.51",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.51",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.51",
"@babel/preset-env": "^7.0.0-beta.51",
"babel-core": "^7.0.0-0",
"babel-jest": "^23.0.1",
"eslint": "^5.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-config-yoctol-base": "^0.15.1",
"eslint-plugin-import": "^2.10.0",
"eslint-plugin-prettier": "^2.6.0",
"husky": "^0.14.3",
"jest": "^23.1.0",
"jest-junit": "^5.1.0",
"lint-staged": "^7.0.2",
"prettier": "^1.13.5",
"prettier-package-json": "^1.6.0",
"rimraf": "^2.6.2"
},
"jest": {
"coverageDirectory": "./coverage/",
"transformIgnorePatterns": [
"node_modules",
"lib"
],
"testEnvironment": "node",
"testPathIgnorePatterns": [
"node_modules",
"lib"
],
"timers": "fake",
"resetModules": true,
"resetMocks": true,
"reporters": [
"default",
"jest-junit"
]
},
"lint-staged": {
"*.md": [
"prettier --write",
"git add"
],
"*.{json, babelrc}": [
"prettier --parser json-stringify --write",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
],
"*package.json": [
"prettier-package-json --write",
"prettier --parser json-stringify --write",
"git add"
]
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true
}
}