forked from WordPress/packages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 loc) · 1.27 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
{
"license": "GPL-2.0-or-later",
"engines": {
"node": ">=8.0.0",
"npm": ">=5.0.0"
},
"devDependencies": {
"babel-core": "^6.26.0",
"benchmark": "^2.1.4",
"chalk": "^2.0.1",
"check-node-version": "^3.1.1",
"codecov": "^2.2.0",
"glob": "^7.1.2",
"lerna": "^2.9.0",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.2",
"path-type": "^3.0.0",
"rimraf": "^2.6.1",
"symlink-or-copy": "^1.2.0"
},
"babel": {
"presets": "@wordpress/default"
},
"jest": {
"collectCoverageFrom": [
"packages/*/**/*.js"
],
"preset": "@wordpress/jest-preset-default"
},
"scripts": {
"build-clean": "rimraf ./packages/*/build ./packages/*/build-module",
"prebuild": "npm-run-all check-engines build-clean",
"build": "node ./scripts/build.js",
"check-engines": "check-node-version --package",
"create-symlinks": "node ./scripts/create-symlinks.js",
"lerna-bootstrap": "lerna bootstrap --hoist",
"postinstall": "npm-run-all lerna-bootstrap create-symlinks build",
"test": "wp-scripts test-unit-js",
"test:coverage": "npm run test -- --coverage",
"test:coverage-ci": "npm run test -- --coverage && codecov",
"test:watch": "npm run test -- --watch",
"publish:dev": "npm run build && lerna publish --npm-tag next",
"publish:prod": "npm run build && lerna publish"
}
}