-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
117 lines (117 loc) · 4.76 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
117
{
"name": "@myparcel-woocommerce/monorepo",
"version": "5.0.0",
"private": true,
"homepage": "https://github.com/myparcelnl/woocommerce#readme",
"bugs": {
"url": "https://github.com/myparcelnl/woocommerce/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/myparcelnl/woocommerce"
},
"license": "MIT",
"type": "module",
"workspaces": [
"views/**"
],
"scripts": {
"analyse": "yarn docker composer analyse",
"analyse:generate": "yarn docker composer analyse:generate",
"analyze": "yarn docker composer analyze",
"analyze:generate": "yarn docker composer analyze:generate",
"build": "yarn build:js",
"build:dev": "yarn build:js:dev",
"build:js": "nx run-many --output-style=stream --target=build",
"build:js:dev": "nx run-many --output-style=stream --target=build:dev",
"build:js:dev:backend": "yarn build:js:dev --projects='*/backend-*'",
"build:js:dev:blocks": "yarn build:js:dev --projects='*/block-*'",
"build:js:dev:frontend": "yarn build:js:dev --projects='*/frontend-*'",
"build:js:test": "nx run-many --output-style=stream --target=build:test",
"build:test": "yarn build:js:test",
"clean": "nx run-many --output-style=stream --parallel=99 --target=clean",
"docker": "docker compose run --rm -it php",
"docker:build": "docker build -t myparcelnl/woocommerce .",
"docker:run": "docker run -it --rm -v $(pwd):/app myparcelnl/woocommerce",
"lint": "prettier --write '**/*.{md,json,yml,css,scss}'",
"prepare": "is-ci || husky install",
"test": "nx run-many --output-style=stream --target=test",
"test:coverage": "nx run-many --output-style=stream --target=test:coverage",
"test:run": "nx run-many --output-style=stream --target=test:run",
"translations:import": "yarn pdk-builder translations",
"update-wc-types": "bash private/updateTypes.sh",
"upgrade": "yarn pdk-builder upgrade-self && yarn pdk-builder upgrade-all",
"upgrade:dev": "yarn pdk-builder upgrade-self --no-commit --no-check && yarn pdk-builder upgrade-all --no-commit --no-check",
"watch": "yarn build:js:dev --parallel=99 -- --watch",
"watch:backend": "yarn build:js:dev:backend --parallel=99 -- --watch",
"watch:blocks": "yarn build:js:dev:blocks --parallel=99 -- --watch",
"watch:frontend": "yarn build:js:dev:frontend --parallel=99 -- --watch",
"watch:test": "yarn build:js:test --parallel=99 -- --watch",
"ws:build": "vite build",
"ws:build:dev": "vite build --mode development",
"ws:build:test": "vite build --mode test",
"ws:clean": "cd $0 && rimraf dist lib coverage",
"ws:test": "cd $0 && vitest",
"ws:test:coverage": "cd $0 && vitest run --coverage",
"ws:test:run": "cd $0 && vitest run"
},
"lint-staged": {
"*.{ts,vue}": "eslint --fix",
"*.{md,json,yml,css,scss}": "prettier --write",
"package.json": "npx sort-package-json"
},
"prettier": "@myparcel/prettier-config",
"resolutions": {
"@semantic-release/release-notes-generator": "npm:@myparcel/semantic-release-release-notes-generator@^10.1.0",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"eslint-plugin-prettier": "^4.2.0",
"react": "^18",
"react-dom": "^18"
},
"devDependencies": {
"@automattic/data-stores": "^3.1.0-rc.5",
"@myparcel-eslint/eslint-config-esnext": "^1.2.0",
"@myparcel-eslint/eslint-config-import": "^1.2.0",
"@myparcel-eslint/eslint-config-node": "^1.2.0",
"@myparcel-eslint/eslint-config-prettier": "^1.2.0",
"@myparcel-eslint/eslint-config-prettier-typescript": "^1.2.0",
"@myparcel-eslint/eslint-config-prettier-typescript-vue": "^1.2.0",
"@myparcel-pdk/app-builder": "^1.0.0",
"@myparcel/semantic-release-config": "^5.0.0",
"@myparcel/semantic-release-wordpress-readme-generator": "^1.1.0",
"@semantic-release/git": "^10.0.1",
"@types/node": "^20.0.0",
"@types/react": "*",
"@types/react-dom": "*",
"@types/wordpress__block-editor": "*",
"@types/wordpress__blocks": "*",
"@types/wordpress__data": "*",
"@vitest/coverage-v8": "^1.0.0",
"@vue/tsconfig": "^0.5.0",
"@wordpress/core-data": "wp-6.0",
"@wordpress/data": "wp-6.0",
"@wordpress/interactivity": "wp-6.3",
"@wordpress/scripts": "wp-6.0",
"array.prototype.flatmap": "^1.3.1",
"eslint": "^8.34.0",
"eslint-plugin-react": "^7.0.0",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-sort-exports": "^0.9.0",
"husky": "^9.0.0",
"is-ci": "^3.0.1",
"lint-staged": "^15.0.0",
"nx": "^18.0.0",
"prettier": "^2.8.4",
"react": "*",
"react-dom": "*",
"rimraf": "^5.0.7",
"semantic-release": "^23.0.0",
"typescript": "^5.2.2",
"vitest": "^1.0.0"
},
"volta": {
"node": "20.15.1",
"yarn": "4.3.1"
}
}