-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.89 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
{
"name": "google-apps-script-svelte-starter",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "concurrently \"npm run watch:all\" \"vite --open mock/mock.html\"",
"pre-build": "cp ./dist/appsscript.json ./appsscript.json.bak && npm run build:all",
"post-build": "cp ./appsscript.json.bak ./dist/appsscript.json && rm ./appsscript.json.bak",
"build-svelte": "vite build",
"build-gas": "vite build --config vite.config.gas.ts",
"build": "npm-run-all pre-build build-svelte build-gas post-build",
"upload": "cd dist && npx clasp push --rootDir ./",
"preview": "vite preview",
"check": "svelte-check --tsconfig ./tsconfig.json",
"create-clasp-project": "node createClaspProject.js",
"push-to-clasp": "npm run build && clasp push",
"watch:all": "chokidar 'src/gas/api.ts' -c 'npm run build:all'",
"build:all": "npm-run-all build-types build-mocks build-gas-api",
"build-gas-api":"create-client-api src/gas/api.ts src/svelte/gasApi.ts",
"build-types": "add-google-run-types src/gas/api.ts src/svelte/types/google.script.run.d.ts",
"build-mocks": "add-google-run-mocks src/gas/api.ts src/svelte/mock/mockApi.ts"
},
"devDependencies": {
"@google/clasp": "^2.4.2",
"@sveltejs/vite-plugin-svelte": "^2.4.2",
"@tsconfig/svelte": "^5.0.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^8.2.2",
"npm-run-all": "^4.1.5",
"svelte": "^4.0.5",
"svelte-check": "^3.4.6",
"ts-morph": "^20.0.0",
"tsc": "^2.0.4",
"tslib": "^2.6.0",
"typescript": "^5.2.2",
"vite": "^4.4.5",
"vite-plugin-singlefile": "^0.13.5"
},
"dependencies": {
"@types/google-apps-script": "^1.0.76",
"@types/google-apps-script-oauth2": "^38.0.2",
"@types/google.picker": "^0.0.41",
"google-apps-script-run-ts-mocks": "^0.0.3",
"google-apps-script-svelte-components": "^0.0.3",
"svelte": "4.2.2"
}
}