forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 3.72 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
{
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/node": "^7.5.5",
"@babel/runtime": "^7.5.5",
"@lerna/prompt": "3.13.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"chalk": "^2.4.2",
"chokidar": "^3.0.2",
"cross-env": "^5.2.0",
"danger": "^8.0.0",
"date-fns": "^1.30.1",
"eslint": "^5.16.0",
"eslint-config-google": "^0.13.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-flowtype": "^3.13.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"flow-bin": "^0.106.2",
"fs-extra": "^8.1.0",
"glob": "^7.1.4",
"husky": "3.0.4",
"ignore": "^5.1.4",
"jest": "^24.9.0",
"jest-cli": "^24.9.0",
"jest-environment-jsdom-fourteen": "^0.1.0",
"jest-junit": "^6.4.0",
"jest-serializer-path": "^0.1.15",
"joi": "^14.3.1",
"js-yaml": "^3.13.1",
"lerna": "^3.16.4",
"lint-staged": "^8.2.1",
"markdown-magic": "^0.2.1",
"npm-run-all": "4.1.5",
"plop": "^1.9.1",
"prettier": "1.18.2",
"rimraf": "^3.0.0",
"svgo": "1.3.0",
"ts-jest": "^22",
"typescript": "^3.5.3",
"yargs": "^10.1.2"
},
"engines": {
"yarn": "^1.17.3",
"node": ">=6.11.5"
},
"eslintIgnore": [
"interfaces",
"**/__tests__/fixtures/"
],
"private": true,
"lint-staged": {
"*.{js,jsx}": [
"eslint --ignore-path .gitignore --ignore-path .prettierignore --fix",
"git add"
],
"*.{md,css,scss,yaml,yml}": [
"prettier --write",
"git add"
],
"*.svg": [
"svgo --pretty --indent=2 --config=svgo.yml --multipass",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged || node scripts/on-lint-error.js"
}
},
"scripts": {
"bootstrap": "npm-run-all -s check-versions \"lerna-prepare -- --{@}\" --",
"check-versions": "babel-node scripts/check-versions.js",
"check-repo-fields": "babel-node scripts/check-repo-fields.js",
"format": "npm run format:code && npm run format:other && npm run format:svg",
"format:other": "npm run prettier -- --write",
"format:code": "npm run lint:code -- --fix",
"format:svg": "node scripts/format-svg.js",
"hooks:uninstall": "node node_modules/husky/husky.js uninstall",
"hooks:install": "node node_modules/husky/husky.js install",
"jest": "jest",
"jest:loki": "cross-env GATSBY_DB_NODES=loki jest",
"lerna": "lerna",
"lerna-prepare": "lerna run prepare",
"lint": "npm-run-all --continue-on-error -p lint:code lint:other",
"lint:code": "eslint --ignore-path .gitignore --ignore-path .prettierignore --ext .js,.jsx .",
"lint:flow": "babel-node scripts/flow-check.js",
"lint:other": "npm run prettier -- --check",
"markdown": "md-magic --path \"starters/**/*.md\"",
"postmarkdown": "prettier --write \"starters/**/*.md\"",
"plop": "plop",
"prebootstrap": "yarn",
"prettier": "prettier \"**/*.{md,css,scss,yaml,yml,ts}\"",
"publish": "node scripts/check-publish-access && node scripts/clear-package-dir --verbose && lerna publish",
"publish-canary": "lerna publish --canary --yes",
"publish-next": "lerna publish --npm-tag=next --bump=prerelease",
"test": "npm-run-all -s lint jest",
"test:coverage": "jest --coverage",
"test:update": "jest --updateSnapshot",
"test:watch": "jest --watch",
"test:integration": "jest --config=integration-tests/jest.config.js",
"version": "prettier --write \"**/CHANGELOG.md\"",
"watch": "lerna run watch --no-sort --stream --concurrency 999"
},
"workspaces": [
"packages/*"
],
"resolutions": {
"write-file-atomic": "2.4.1"
}
}