-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
81 lines (81 loc) · 3.21 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
{
"name": "@myparcel-prestashop/monorepo",
"version": "4.1.0",
"private": true,
"repository": "github:myparcelnl/prestashop",
"license": "MIT",
"type": "module",
"workspaces": [
"views/js/**/*"
],
"scripts": {
"prebuild": "run translations:import && run download:carrier-logos",
"build": "run prebuild && run build:js",
"build:dev": "run 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": "run build:js:dev --projects='*/backend-*'",
"build:js:dev:frontend": "run build:js:dev --projects='*/frontend-*'",
"build:js:test": "nx run-many --output-style=stream --target=build:test",
"docker": "docker compose run --rm -it php",
"docker:build": "docker build -t myparcelnl/prestashop .",
"docker:run": "docker run -it --rm -v $(pwd):/app myparcelnl/prestashop",
"download:carrier-logos": "pdk-builder download-carrier-logos",
"prepare": "is-ci || husky",
"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": "pdk-builder translations",
"upgrade": "pdk-builder upgrade-self && pdk-builder upgrade-all",
"upgrade:js": "pdk-builder upgrade \"@myparcel-pdk/*\"",
"upgrade:php": "pdk-builder upgrade myparcelnl/pdk",
"watch": "run build:js:dev --parallel=99 -- --watch",
"watch:backend": "run build:js:dev:backend --parallel=99 -- --watch",
"watch:frontend": "run build:js:dev:frontend --parallel=99 -- --watch",
"watch:test": "run 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:test": "cd $0 && vitest",
"ws:test:coverage": "cd $0 && vitest run --coverage",
"ws:test:run": "cd $0 && vitest run"
},
"resolutions": {
"eslint-plugin-prettier": "^4.2.1"
},
"lint-staged": {
"*.{ts,vue,js,cjs,mjs}": "eslint --fix",
"*.{md,json,yml,css,scss}": "prettier --write",
"package.json": "npx sort-package-json"
},
"prettier": "@myparcel/prettier-config",
"devDependencies": {
"@myparcel-eslint/eslint-config-esnext": "^1.2.0",
"@myparcel-eslint/eslint-config-import": "^1.0.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/sdk": "^3.0.0",
"@myparcel/semantic-release-config": "^5.0.0",
"@types/node": "^20.0.0",
"@vue/tsconfig": "^0.5.0",
"array.prototype.flatmap": "^1.3.1",
"chalk": "^5.3.0",
"eslint": "^8.44.0",
"eslint-plugin-sort-exports": "^0.9.0",
"fast-glob": "^3.3.1",
"husky": "^9.0.0",
"is-ci": "^3.0.1",
"lint-staged": "^15.0.0",
"node-fetch": "^3.3.2",
"nx": "^18.0.0",
"prettier": "^2.8.8",
"sharp": "^0.33.0"
},
"volta": {
"node": "20.10.0",
"yarn": "4.3.1"
}
}