-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (40 loc) · 1.75 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
{
"name": "gcal-wari",
"version": "1.0.0",
"description": "Assisting creation of timetable on Google Calendar.",
"main": "index.js",
"scripts": {
"push": "clasp push && date",
"open-clasp": "echo '' | clasp open --webapp",
"open-static": "wslview https://script.google.com/macros/s/AKfycbwnoXDqIoCPU17gIdWi1lBvGo5HPPy7NnIhoL6IBj4/exec",
"open": "npm run open-static",
"logs": "clasp logs --watch --simplified",
"test": "clasp push && clasp run",
"build": "npm-run-all -p build:* -s push",
"build:server": "tsc -p src_server",
"build:client": "run-p build:client:*",
"build:client:js": "run-s build:client:js:*",
"build:client:css": "run-s build:client:css:*",
"build:client:html": "cp src_client/index.html app/index.html",
"build:client:js:ts-js": "tsc -p src_client",
"build:client:js:js-html": "cat dest/client.js | sed -e '1 i <script>' -e '$ a </script>' > app/script.js.html",
"build:client:css:sass-css": "node-sass src_client/style.scss dest/style.css",
"build:client:css:css-html": "cat dest/style.css | sed -e '1 i <style>' -e '$ a </style>' > app/style.css.html",
"watch": "run-p watch:**",
"watch:server": "chokidar src_server/*.ts -c 'npm run build:server'",
"watch:client:js": "chokidar src_client/*.ts -c 'npm run build:client:js'",
"watch:client:css": "chokidar src_client/*.scss -c 'npm run build:client:css'",
"watch:client:html": "chokidar src_client/index.html -c 'npm run build:client:html'"
},
"author": "",
"license": "ISC",
"dependencies": {},
"devDependencies": {
"@google/clasp": "^2.3.0",
"@types/google-apps-script": "^1.0.14",
"chokidar-cli": "^2.1.0",
"npm-run-all": "^4.1.5",
"sass-node": "^4.11.2",
"typescript": "^3.9.3"
}
}