-
Notifications
You must be signed in to change notification settings - Fork 162
/
package.json
45 lines (45 loc) · 2.6 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
{
"name": "script-lab-react",
"version": "1.0.0",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"clean": "ts-node --project scripts/tsconfig.json scripts/clean.ts",
"dev-certs": "npx office-addin-dev-certs install",
"postinstall": "npm run clean && npm run postinstall:iterate",
"postinstall:iterate": "npm run postinstall --workspace=common && npm run postinstall --workspace=editor && npm run postinstall --workspace=runner",
"build": "cd packages/common && npm run build && cd ../editor && npm run build && cd ../runner && npm run build",
"style-check": "prettier --config ./config/prettier.json --check \"@(packages|src|test|scripts)/**/*.@(ts|tsx|js|md|html|css|json)\"",
"style": "prettier --config ./config/prettier.json --write \"@(packages|src|test|scripts|import)/**/*.@(ts|tsx|js|md|html|css|json)\"",
"common": "npm run start --workspace=common",
"editor": "npm run start --workspace=editor",
"runner": "npm run start --workspace=runner",
"start": "npm-run-all --parallel common editor runner",
"common:test": "npm run test --workspace=common",
"editor:test": "npm run test --workspace=editor",
"runner:test": "npm run test --workspace=runner",
"test": "npm-run-all --parallel common:test editor:test runner:test",
"manifest": "npm run make-manifest && npm run check-manifest",
"make-manifest": "ts-node --project scripts/tsconfig.json scripts/make-manifest.ts",
"check-manifest": "npm run check-manifest-local && npm run check-manifest-internal && npm run check-manifest-production && npm run check-manifest-local-outlook && npm run check-manifest-internal-outlook && npm run check-manifest-production-outlook",
"check-manifest-local": "npx office-addin-manifest validate manifests/localhost.xml",
"check-manifest-local-outlook": "npx office-addin-manifest validate manifests/localhost.outlook.xml",
"check-manifest-internal": "npx office-addin-manifest validate manifests/internal.xml",
"check-manifest-internal-outlook": "npx office-addin-manifest validate manifests/internal.outlook.xml",
"check-manifest-production": "npx office-addin-manifest validate manifests/production.xml",
"check-manifest-production-outlook": "npx office-addin-manifest validate manifests/production.outlook.xml",
"share": "node ./scripts/manifests-to-share.js",
"end-node": "taskkill /f /im node.exe"
},
"devDependencies": {
"@types/fs-extra": "^5.0.4",
"common": "0.0.1",
"npm-run-all": "^4.1.3",
"office-addin-dev-certs": "^1.11.6",
"prettier": "^3.2.5",
"shelljs": "^0.8.5",
"ts-node": "10.9.2"
}
}