-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
137 lines (137 loc) · 5.04 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "node-developer-boilerplate",
"version": "0.6.0",
"description": "Boilerplate for ES6+ Node.js Developers",
"author": "Maik Ellerbrock",
"main": "dist/index.js",
"license": "MIT",
"repository": {
"url": "[email protected]:ellerbrock/node-developer-boilerplate.git",
"type": "git"
},
"homepage": "https://ellerbrock.github.io/node-developer-boilerplate",
"bugs": {
"url": "https://github.com/ellerbrock/node-developer-boilerplate/issues"
},
"scripts": {
"benchmark": "babel-node benchmark",
"benchmark:watch": "nodemon src/index.js --exec babel-node benchmark",
"prebuild": "yarn run clean:dist",
"build": "cross-env NODE_ENV=production babel -s true src -d dist",
"clean": "yarn run clean:dist && yarn run clean:reports && yarn run clean:coverage",
"clean:coverage": "shx rm -rf coverage",
"clean:dist": "shx rm -rf dist",
"clean:reports": "shx rm -rf reports",
"precoverage": "yarn run clean:coverage",
"coverage": "cross-env NODE_ENV=test babel-istanbul cover src/*.js _mocha --report lcovonly -- -R spec",
"postcoverage": "cross-env NODE_ENV=test babel-istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100",
"coverage:ci": "cross-env NODE_ENV=test yarn run coverage && codecov",
"debug": "nodemon src/index.js --exec babel-node --debug",
"precommit": "yarn run clean && yarn run update-dependencies && yarn run build && yarn run lint:fix && yarn test && yarn run coverage && yarn run lint:travis && yarn run lint:markdown && yarn run lint:markdown-links",
"commit": "git add --all && git status && git-cz",
"postcommit": "yarn run lint:git && yarn run changelog",
"changelog": "standard-changelog --preset angular-emoji --outfile changelog.md",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"lint:git": "conventional-changelog-lint -e",
"lint:travis": "travis-lint .travis.yml",
"lint:markdown": "markdownlint readme.md",
"lint:markdown-links": "markdown-link-check readme.md",
"premonitor": "yarn run clean:dist && yarn run build",
"monitor": "nodejs-dashboard node dist",
"prerelease": "yarn run setenv:prod && yarn run clean && yarn run build && yarn run update-dependencies && yarn run lint && yarn run test && yarn run coverage",
"release": "standard-version --no-verify",
"postrelease": "greenkeeper-postpublish && yarn run setenv:dev",
"security:test": "snyk test",
"security:wizard": "snyk wizard",
"security:protect": "snyk protect",
"security:monitor": "snyk monitor",
"update-dependencies": "yarn upgrade",
"serve": "node dist",
"setenv:dev": "yarn config set production false",
"setenv:prod": "yarn config set production true",
"start": "nodemon src/index.js --exec babel-node",
"tasks": "ntl",
"pretest": "yarn run clean:coverage && yarn run clean:reports",
"test": "cross-env NODE_ENV=test mocha -c -S -R spec --compilers js:babel-register --check-leaks",
"posttest": "cross-env NODE_ENV=test mocha -S -R mochawesome --compilers js:babel-register --reporter-options reportDir=reports --check-leaks",
"test:watch": "cross-env NODE_ENV=test yarn test -- -w",
"online": "git push --follow-tags origin master; yarn publish"
},
"files": [
"dist"
],
"config": {
"commitizen": {
"path": "cz-conventional-changelog-emoji"
}
},
"babel": {
"presets": [
"es2015-node6",
"stage-0"
],
"env": {
"production": {
"plugins": [
"add-module-exports"
],
"presets": [
"babili",
"es2015"
]
}
}
},
"eslintConfig": {
"extends": "standard",
"installedESLint": true,
"plugins": [
"standard",
"promise"
]
},
"snyk": true,
"devDependencies": {
"babel-cli": "^6.23.0",
"babel-istanbul": "0.12.2",
"babel-node-debug": "^2.0.0",
"babel-plugin-add-module-exports": "0.2.1",
"babel-preset-babili": "^0.0.12",
"babel-preset-env": "1.2.1",
"babel-preset-es2015": "6.22.0",
"babel-preset-es2015-node6": "0.4.0",
"babel-preset-stage-0": "6.22.0",
"babel-register": "^6.23.0",
"babili": "^0.0.12",
"benchmark": "^2.1.3",
"chai": "^3.5.0",
"codecov": "1.0.1",
"commitizen": "2.9.6",
"conventional-changelog-angular-emoji": "0.2.2",
"conventional-changelog-lint": "1.1.1",
"cross-env": "3.2.3",
"cz-conventional-changelog-emoji": "0.1.0",
"eslint": "^3.17.1",
"eslint-config-standard": "7.0.1",
"eslint-plugin-promise": "3.5.0",
"eslint-plugin-standard": "2.1.1",
"greenkeeper-postpublish": "1.0.1",
"markdown-link-check": "3.0",
"markdownlint-cli": "0.2.0",
"mocha": "^3.2.0",
"mochawesome": "^2.0.4",
"mochawesome-report-generator": "1.1.0",
"nodejs-dashboard": "^0.4.0",
"nodemon": "^1.11.0",
"ntl": "1.2.0",
"shx": "^0.2.2",
"sinon": "1.17.7",
"sinon-chai": "2.8.0",
"snyk": "^1.25.2",
"standard-changelog": "0.0.1",
"standard-version": "^4.0.0",
"travis-lint": "1.0.0",
"yarn": "0.21.3"
}
}