-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
27 lines (27 loc) · 894 Bytes
/
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
{
"name": "annotate",
"version": "1.0.0",
"description": "Annotate",
"author": "Varuna Jayasiri",
"dependencies": {
"picomatch": "latest"
},
"devDependencies": {
"sass": "latest",
"http-server": "latest",
"typescript": "latest",
"@types/node": "latest",
"@types/yaml": "latest"
},
"scripts": {
"build": "$npm_execpath run build:server && $npm_execpath run build:ui && $npm_execpath run build:sass && $npm_execpath run build:html",
"build:ui": "tsc -p tsconfig.ui.json",
"watch:ui": "tsc -w -p tsconfig.ui.json",
"build:server": "tsc -p tsconfig.server.json",
"watch:server": "tsc -w -p tsconfig.server.json",
"build:sass": "sass ui/style.scss:dist/ui/css/style.css",
"watch:sass": "sass --watch ui/style.scss:dist/ui/css/style.css",
"build:html": "cp ui/index.html dist/ui/index.html",
"clean": "rm -rf dist/"
}
}