-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
48 lines (48 loc) · 1.95 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
{
"private": true,
"name": "runno",
"description": "Monorepo for @runno packages",
"version": "0.1.0",
"license": "MIT",
"engines": {
"node": ">=12"
},
"workspaces": [
"packages/*"
],
"scripts": {
"prepare": "npx husky install",
"bootstrap": "npm install",
"dev": "cd packages/website && npm run dev # TODO: Also run watch on runtime and wasi",
"publish": "npm run build && npx lerna publish",
"build:docs:wasi": "npm run build:docs --workspace=@runno/wasi && rm -rf packages/website/docs/wasi && mkdir -p packages/website/docs && cp -R packages/wasi/docs packages/website/docs/wasi",
"build:docs:runtime": "npm run build:docs --workspace=@runno/runtime && rm -rf packages/website/docs/runtime && mkdir -p packages/website/docs && cp -R packages/runtime/docs packages/website/docs/runtime",
"build:docs": "npm run build:docs:runtime && npm run build:docs:wasi",
"build:client": "cd packages/client && npm run build",
"build:wasi": "cd packages/wasi && npm run build",
"build:runtime": "cd packages/runtime && npm run build",
"build:website": "cd packages/website && npm run build",
"build": "npm run build:wasi && npm run build:runtime && npm run build:client && npm run build:docs && npm run build:website",
"build:deploy": "npm run bootstrap && npm run build",
"test:sandbox": "cd sandbox && deno task test",
"test:client": "cd packages/client && npm run test",
"test:wasi": "cd packages/wasi && npm run test:prepare && npm run test",
"test:runtime": "cd packages/runtime && npm run test",
"test": "npm run test:client && npm run test:wasi && npm run test:runtime && npm run test:sandbox"
},
"eslintConfig": {
"extends": "preact",
"ignorePatterns": [
"build/"
]
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"devDependencies": {
"husky": "^7.0.4",
"lerna": "^7.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.1"
}
}