-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 3.72 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
{
"name": "@myparcel-pdk/monorepo",
"version": "1.0.0-alpha.0",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/myparcelnl/js-pdk"
},
"license": "MIT",
"type": "module",
"workspaces": [
"apps/*",
"libs/**"
],
"scripts": {
"build": "nx run-many -t build",
"build:dev": "nx run-many -t build:dev",
"clean": "nx run-many -t clean --parallel=99",
"lint": "nx affected -t lint --output-style=stream",
"lint:fix": "nx affected -t lint:fix --output-style=stream",
"prepare": "is-ci || husky",
"serve": "run build:dev --output-style=stream npx concurrently yarn:watch yarn:serve:demo",
"serve:demo": "npx -q concurrently yarn:serve:demo:frontend yarn:serve:demo:backend",
"serve:demo:backend": "nx serve @myparcel-pdk/backend-demo",
"serve:demo:frontend": "nx serve @myparcel-pdk/admin-demo",
"test": "nx run-many -t test --parallel=99 --output-style=stream",
"test:affected": "nx affected -t test:run --output-style=stream",
"test:coverage": "nx run-many -t test:coverage --output-style=stream",
"test:run": "nx run-many -t test:run --output-style=stream",
"test:update": "nx run-many -t test:update --output-style=stream",
"translations:import": "nx run-many -t translations:import --output-style=stream",
"typecheck": "nx run-many -t typecheck",
"ws:clean": "cd $0 && rimraf dist coverage .eslintcache tsconfig.build.tsbuildinfo",
"ws:lint": "eslint --cache $0",
"ws:lint:fix": "eslint --cache --fix $0",
"ws:test": "cd $0 && vitest --passWithNoTests",
"ws:test:coverage": "cd $0 && vitest run --coverage --passWithNoTests",
"ws:test:run": "cd $0 && vitest run --passWithNoTests",
"ws:test:update": "cd $0 && vitest run -u --passWithNoTests",
"ws:ts:build": "cd $0 && tsc --project tsconfig.base.json --noEmit false --declaration --emitDeclarationOnly --declarationDir dist",
"ws:ts:typecheck": "cd $0 && tsc --project tsconfig.base.json --noEmit",
"ws:vue:build": "cd $0 && vue-tsc --project tsconfig.base.json --noEmit false --declaration --emitDeclarationOnly --declarationDir dist",
"ws:vue:typecheck": "cd $0 && vue-tsc --project tsconfig.base.json --noEmit"
},
"lint-staged": {
"*.{json,md,yml}": "prettier --write",
"*.{ts,vue,js,cjs,mjs}": "yarn run ws:lint:fix",
"package.json": "npx sort-package-json"
},
"prettier": "@myparcel/prettier-config",
"resolutions": {
"eslint-plugin-prettier": "^4.2.1"
},
"devDependencies": {
"@edielemoine/monodeploy-plugin-github-actions": "^1.0.0",
"@monoweave/cli": "^1.9.0",
"@monoweave/plugin-github": "^2.0.0",
"@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/prettier-config": "^1.1.0",
"@types/is-ci": "^3",
"@vue/tsconfig": "^0.5.0",
"array.prototype.flatmap": "^1.3.1",
"conventional-changelog-conventionalcommits": "^7.0.0",
"eslint": "^8.34.0",
"eslint-plugin-sort-exports": "^0.9.0",
"husky": "^9.0.0",
"is-ci": "^3.0.1",
"lint-staged": "^15.0.0",
"nodemon": "^3.0.0",
"nx": "^18.0.0",
"prettier": "^2.8.4",
"rimraf": "^5.0.0",
"typescript": "^5.2.2"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=20"
},
"volta": {
"node": "20.12.2",
"yarn": "4.5.1"
},
"bundlewatch": {
"files": [
{
"path": "apps/admin-js/dist/**/*.js"
},
{
"path": "apps/checkout-js/dist/**/*.js"
}
]
}
}