forked from gatsbyjs/gatsby-source-wordpress-experimental
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
76 lines (76 loc) · 3.19 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
{
"name": "gatsby-wordpress-workspace",
"private": true,
"version": "0.0.1",
"license": "MIT",
"workspaces": [
"test-site",
"plugin",
"starters/*"
],
"scripts": {
"prettier": "prettier . --write",
"eslint": "eslint . --ext .ts,.js,.jsx,.tsx",
"prettier-check": "prettier . --check",
"lint": "yarn prettier-check && yarn eslint",
"build": "yarn workspace @pixel-point/gatsby-source-wordpress-experimental run build",
"watch": "yarn workspace @pixel-point/gatsby-source-wordpress-experimental run watch",
"clean-test-runtime": "cd test-site && gatsby clean",
"develop-test-runtime": "cd test-site && yarn develop",
"develop-preview": "cd test-site && ENABLE_GATSBY_REFRESH_ENDPOINT=true yarn develop",
"build-test-runtime": "cd test-site && yarn build",
"serve-test-runtime": "cd test-site && yarn serve",
"ci-test": "server-test 'yarn docker-start' http://localhost:8001",
"ci": "yarn lint && yarn ci-test",
"docker-start": "docker-compose up --build --force-recreate -V",
"test-schema-first": "START_SERVER=true jest ./test-site/__tests__/integration/schema",
"test-schema-increment": "WPGQL_INCREMENT=true START_SERVER=true jest ./test-site/__tests__/integration/schema",
"test-schema": "yarn clean-test-runtime && yarn test-schema-first && yarn test-schema-increment",
"test-build": "yarn clean-test-runtime && DEFAULT_PLUGIN_OPTIONS=true jest ./test-site/__tests__/integration/build && jest ./test-site/__tests__/integration/build/plugin-options-schema",
"test": "yarn build && yarn test-schema && yarn test-build && yarn clean-test-runtime",
"test-schema-watch": "SHOW_GATSBY_PROCESS_STDOUT=true yarn test-schema-first --watch",
"test-build-watch": "SHOW_GATSBY_PROCESS_STDOUT=true yarn test-build --watch",
"test-update": "yarn test-schema-first -u && yarn test-schema-increment -u && yarn test-build -u",
"npm-publish": "(rm plugin/README.md || true) && cp README.md plugin/README.md && cd plugin && npm publish"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-proposal-private-methods": "^7.10.1",
"@typescript-eslint/eslint-plugin": "^4.5.0",
"@typescript-eslint/parser": "^4.5.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.1.0",
"babel-plugin-import-globals": "^2.0.0",
"babel-plugin-root-import": "^6.4.1",
"babel-preset-gatsby": "^0.2.29",
"babel-preset-gatsby-package": "^0.2.9",
"cross-env": "^5.2.1",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.14.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.3.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^25.1.0",
"lint-staged": "^10.4.2",
"prettier": "^2.1.2",
"react-test-renderer": "^16.12.0",
"rimraf": "^3.0.2",
"start-server-and-test": "^1.11.5",
"tree-kill": "^1.2.2",
"typescript": "^4.0.3",
"wait-on": "^4.0.0",
"gatsby-plugin-utils": "^0.3.0"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [
"eslint",
"prettier --write"
],
"*.{md,json,yml}": [
"prettier --write"
]
}
}