forked from lastui/examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
19 lines (15 loc) · 791 Bytes
/
package.json
File metadata and controls
19 lines (15 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
"scripts": {
"all": "npm run update && npm run postinstall && npm run build",
"update": "npm run update:spa && npm run update:examples",
"update:spa": "cd spa && ncu -u",
"update:examples": "ls -1 examples | xargs -r -I {} bash -c 'cd examples/{} && ncu -u'",
"postinstall": "npm run install:spa && npm run install:examples",
"install:spa": "cd spa && npm ci --legacy-peer-deps",
"install:examples": "ls -1 examples | xargs -r -I {} bash -c 'cd examples/{} && npm ci --legacy-peer-deps'",
"build": "npm run build:spa && npm run build:examples",
"build:spa": "cd spa && npm run build",
"build:examples": "ls -1 examples | xargs -r -I {} bash -c 'cd examples/{} && npm run build'",
"start": "cd server && (npm start & open http://localhost:5000 & wait) || :;"
}
}