This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 214
/
package.json
64 lines (64 loc) · 2.7 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
{
"name": "neutrino-dev",
"private": true,
"author": "Eli Perelman <eli@eliperelman.com>",
"license": "MPL-2.0",
"homepage": "https://neutrino.js.org",
"bugs": "https://github.com/mozilla-neutrino/neutrino-dev/issues",
"repository": "mozilla-neutrino/neutrino-dev",
"engines": {
"node": ">=6.10.0",
"yarn": "^1.2.1"
},
"workspaces": [
"packages/*"
],
"scripts": {
"build": "lerna run build",
"changelog": "auto-changelog --remote upstream --commit-limit false",
"cnp": "NODE_ENV=test packages/create-project/bin/create-neutrino-project.js $(yarn random)",
"docs:build": "gitbook build && cp CNAME _book",
"docs:deploy": "yarn docs:build && gh-pages --dist _book --remote upstream",
"docs:serve": "gitbook serve",
"link:all": "lerna exec yarn link",
"lint": "node packages/neutrino/bin/neutrino lint",
"precommit": "lint-staged",
"random": "node -e \"process.stdout.write(require('crypto').randomBytes(8).toString('hex'))\"",
"release": "yarn build && lerna publish --force-publish=*",
"release:preview": "yarn build && lerna publish --force-publish=* --skip-git --skip-npm",
"test": "nyc --reporter lcov ava packages/*/test",
"validate:eslintrc:root": "eslint --no-eslintrc --print-config . -c ./.eslintrc.js > /dev/null",
"validate:eslintrc:eslint": "eslint --no-eslintrc --print-config . -c ./packages/eslint/eslintrc.js > /dev/null",
"validate:eslintrc:airbnb": "eslint --no-eslintrc --print-config . -c ./packages/airbnb/eslintrc.js > /dev/null",
"validate:eslintrc:airbnb-base": "eslint --no-eslintrc --print-config . -c ./packages/airbnb-base/eslintrc.js > /dev/null",
"validate:eslintrc:standardjs": "eslint --no-eslintrc --print-config . -c ./packages/standardjs/eslintrc.js > /dev/null",
"validate:eslintrc": "yarn validate:eslintrc:eslint && yarn validate:eslintrc:airbnb-base && yarn validate:eslintrc:airbnb && yarn validate:eslintrc:standardjs && yarn validate:eslintrc:root",
"version": "yarn changelog --package && git add CHANGELOG.md"
},
"devDependencies": {
"auto-changelog": "^1.1.0",
"ava": "^0.24.0",
"codecov": "^3.0.0",
"eslint-config-prettier": "^2.8.0",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.4.0",
"gh-pages": "^1.1.0",
"gitbook-cli": "^2.3.2",
"gitbook-plugin-anchorjs": "^1.1.1",
"gitbook-plugin-edit-link": "^2.0.2",
"gitbook-plugin-github": "^2.0.0",
"gitbook-plugin-npmsearchlist": "^1.0.0",
"gitbook-plugin-prism": "^2.3.0",
"husky": "^0.14.3",
"lerna": "^2.5.1",
"lint-staged": "^5.0.0",
"nyc": "^11.2.1",
"prettier": "^1.8.2"
},
"lint-staged": {
"*.js": [
"yarn lint --fix",
"git add"
]
}
}