forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 3.79 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
{
"devDependencies": {
"@babel/core": "^7.7.5",
"@babel/node": "^7.7.4",
"@babel/runtime": "^7.7.6",
"@lerna/prompt": "3.18.5",
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"chalk": "^2.4.2",
"chokidar": "^3.3.0",
"cross-env": "^5.2.1",
"danger": "^8.0.0",
"date-fns": "^1.30.1",
"eslint": "^5.16.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-flowtype": "^3.13.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.17.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"husky": "3.1.0",
"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.19.0",
"lint-staged": "^8.2.1",
"markdown-magic": "^0.2.1",
"npm-run-all": "4.1.5",
"plop": "^1.9.1",
"prettier": "1.19.1",
"rimraf": "^3.0.0",
"svgo": "1.3.2",
"ts-jest": "^22",
"typescript": "^3.7.3",
"yargs": "^10.1.2"
},
"engines": {
"yarn": "^1.17.3",
"node": ">=8.0.0"
},
"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:scripts": "sh scripts/lint-shell-scripts.sh",
"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}\"",
"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"
}
}