-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
33 lines (33 loc) · 1.44 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
{
"name": "google-docs-addon-svelte-template",
"version": "1.0.0",
"description": "A template repository to develop a Google Docs add-on with Svelte.",
"main": "index.js",
"scripts": {
"clasp:create": "clasp create",
"clasp:login": "clasp login --no-localhost",
"clasp:open": "clasp open",
"build": "rm -fr ./sidebar/public/build && run-s build:ui build:ui:generate",
"build:ui": "cd ./sidebar && npm run build",
"build:ui:generate": "run-p build:ui:generate:*",
"build:ui:generate:css": "echo '<style>' > ./src/stylesheet.html && cat ./sidebar/public/build/bundle.css >> ./src/stylesheet.html && echo '</style>' >> ./src/stylesheet.html",
"build:ui:generate:js": "echo '<script>' > ./src/javascript.html && cat ./sidebar/public/build/bundle.js >> ./src/javascript.html && echo '</script>' >> ./src/javascript.html",
"deploy": "run-s build && clasp push",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/mikenikles/google-docs-addon-svelte-template.git"
},
"author": "Mike Nikles, @mikenikles",
"license": "MIT",
"bugs": {
"url": "https://github.com/mikenikles/google-docs-addon-svelte-template/issues"
},
"homepage": "https://github.com/mikenikles/google-docs-addon-svelte-template#readme",
"devDependencies": {
"@google/clasp": "^2.3.0",
"@types/google-apps-script": "^1.0.11",
"npm-run-all": "^4.1.5"
}
}