forked from navneetsharmaui/sveltekit-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
193 lines (193 loc) · 9.66 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
{
"name": "sveltekit-starter",
"description": "A sveltekit starter project with typescript, tailwindcss, postcss, scss, husky, and storybook setup",
"version": "1.0.0",
"author": {
"name": "Navneet Sharma",
"url": "https://github.com/navneetsharmaui",
"email": "[email protected]"
},
"license": "MIT",
"keywords": [
"sveltekit",
"typescript",
"svelte",
"SSR",
"svelte-starter",
"sveltekit-starter",
"svelte-boilerplate",
"sveltekit-boilerplate",
"svelte boilerplate",
"sveltekit boilerplate",
"svelte-tailwind-boilerplate",
"svelte tailwind boilerplate",
"sveltekit tailwind boilerplate",
"svelte-ssr-starter",
"sveltekit-ssr-starter",
"svelte-pwa-starter",
"sveltekit-pwa-starter",
"starter-template",
"svelte ssr starter",
"sveltekit ssr starter",
"svelte pwa starter",
"sveltekit pwa starter",
"starter template",
"template"
],
"repository": {
"type": "git",
"url": "git+https://github.com/navneetsharmaui/sveltekit-starter.git"
},
"scripts": {
"prepare": "husky install",
"prebuild": "rimraf .svelte-kit && rimraf build && rimraf .vercel_build_output && rimraf .netlify",
"pre-commit": "lint-staged",
"check-env": "node --loader ts-node/esm scripts/js/check-env.ts",
"remove-css": "node --loader ts-node/esm scripts/js/remove-css-imports.ts",
"add-css": "node --loader ts-node/esm scripts/js/add-css-imports.ts",
"dev:postcss": "cross-env TAILWIND_MODE=build postcss src/styles/global.scss -o static/global.css -w",
"dev:postcss:tailwindcss": "cross-env STYLE_TYPE=TAILWIND TAILWIND_MODE=build postcss src/styles/tailwind.postcss -o static/tailwind.css -w",
"dev:sveltekit": "svelte-kit dev",
"dev:sveltekit:host": "svelte-kit dev --host=0.0.0.0",
"dev:withcompiledcss": "run-p check-env dev:postcss:tailwindcss dev:postcss dev:sveltekit",
"dev": "npm run check-env && npm run add-css && npm run dev:sveltekit",
"dev:host": "npm run check-env && npm run add-css && npm run dev:sveltekit:host",
"dev:open": "npm run dev --open",
"dev:host:open": "npm run dev --open --host",
"build:env:prod": "node --loader ts-node/esm scripts/js/environment.setup.ts --mode=prod --project=sveltekit-starter --arhitect-type=build --configurations=prod",
"build:env:dev": "node --loader ts-node/esm scripts/js/environment.setup.ts --mode=dev --project=sveltekit-starter --arhitect-type=build --configurations=dev",
"build:env:qa": "node --loader ts-node/esm scripts/js/environment.setup.ts --mode=qa --project=sveltekit-starter --arhitect-type=build --configurations=qa",
"build:env:local": "node --loader ts-node/esm scripts/js/environment.setup.ts --mode=local --project=sveltekit-starter --arhitect-type=build --configurations=local",
"build:scss": "sass --no-source-map src/styles/global.scss static/global.css",
"build:postcss": "cross-env TAILWIND_MODE=build NODE_ENV=production cross-env-shell postcss static/global.css -o static/global.css",
"build:postcss:taildwindcss": "cross-env TAILWIND_MODE=build NODE_ENV=production STYLE_TYPE=TAILWIND postcss src/styles/tailwind.postcss -o static/tailwind.css",
"build:sveltekit": "cross-env-shell svelte-kit build",
"build": "run-s remove-css build:env:prod build:scss build:postcss build:postcss:taildwindcss build:sveltekit build:env:local",
"build:verbose:sveltekit": "cross-env-shell svelte-kit build --verbose",
"build:verbose": "run-s build:scss build:postcss build:postcss:taildwindcss build:verbose:sveltekit",
"build:static": "cross-env ADAPTER=static OPTIONS='{}' npm run build",
"build:node": "cross-env ADAPTER=node OPTIONS='{}' npm run build",
"build:netlify": "cross-env ADAPTER=netlify OPTIONS='{}' npm run build",
"build:vercel": "cross-env ADAPTER=vercel OPTIONS='{}' npm run build",
"build:static:verbose": "cross-env ADAPTER=static OPTIONS='{}' npm run build:verbose",
"build:node:verbose": "cross-env ADAPTER=node OPTIONS='{}' npm run build:verbose",
"build:netlify:verbose": "cross-env ADAPTER=netlify OPTIONS='{}' npm run build:verbose",
"build:vercel:verbose": "cross-env ADAPTER=vercel OPTIONS='{}' npm run build:verbose",
"build:static:ssr": "cross-env ADAPTER=static OPTIONS='{}' SSR=true npm run build",
"build:node:ssr": "cross-env ADAPTER=node OPTIONS='{}' SSR=true npm run build",
"build:netlify:ssr": "cross-env ADAPTER=netlify OPTIONS='{}' SSR=true npm run build",
"build:vercel:ssr": "cross-env ADAPTER=vercel OPTIONS='{}' SSR=true npm run build",
"build:static:verbose:ssr": "cross-env ADAPTER=static OPTIONS='{}' SSR=true npm run build:verbose",
"build:node:verbose:ssr": "cross-env ADAPTER=node OPTIONS='{}' SSR=true npm run build:verbose",
"build:netlify:verbose:ssr": "cross-env ADAPTER=netlify OPTIONS='{}' SSR=true npm run build:verbose",
"build:vercel:verbose:ssr": "cross-env ADAPTER=vercel OPTIONS='{}' SSR=true npm run build:verbose",
"build:static:amp": "cross-env ADAPTER=static OPTIONS='{}' AMP=true npm run build",
"build:node:amp": "cross-env ADAPTER=node OPTIONS='{}' AMP=true npm run build",
"build:netlify:amp": "cross-env ADAPTER=netlify OPTIONS='{}' AMP=true npm run build",
"build:vercel:amp": "cross-env ADAPTER=vercel OPTIONS='{}' AMP=true npm run build",
"build:static:verbose:amp": "cross-env ADAPTER=static OPTIONS='{}' AMP=true npm run build:verbose",
"build:node:verbose:amp": "cross-env ADAPTER=node OPTIONS='{}' AMP=true npm run build:verbose",
"build:netlify:verbose:amp": "cross-env ADAPTER=netlify OPTIONS='{}' AMP=true npm run build:verbose",
"build:vercel:verbose:amp": "cross-env ADAPTER=vercel OPTIONS='{}' AMP=true npm run build:verbose",
"build:static:ssr:amp": "cross-env ADAPTER=static OPTIONS='{}' SSR=true AMP=true npm run build",
"build:node:ssr:amp": "cross-env ADAPTER=node OPTIONS='{}' SSR=true AMP=true npm run build",
"build:netlify:ssr:amp": "cross-env ADAPTER=netlify OPTIONS='{}' SSR=true AMP=true npm run build",
"build:vercel:ssr:amp": "cross-env ADAPTER=vercel OPTIONS='{}' SSR=true AMP=true npm run build",
"build:static:verbose:ssr:amp": "cross-env ADAPTER=static OPTIONS='{}' SSR=true AMP=true npm run build:verbose",
"build:node:verbose:ssr:amp": "cross-env ADAPTER=node OPTIONS='{}' SSR=true AMP=true npm run build:verbose",
"build:netlify:verbose:ssr:amp": "cross-env ADAPTER=netlify OPTIONS='{}' SSR=true AMP=true npm run build:verbose",
"build:vercel:verbose:ssr:amp": "cross-env ADAPTER=vercel OPTIONS='{}' SSR=true AMP=true npm run build:verbose",
"preview": "svelte-kit preview",
"preview:open": "npm run run preview --open",
"preview:host": "npm run run preview --host",
"preview:host:open": "npm run run preview --open --host",
"lint": "prettier --ignore-path .gitignore --check ./src/**/*.{js,svelte,ts} ./*.{ts,cjs,js} && eslint ./src/**/*.{js,svelte,ts} --ignore-path .gitignore .",
"lint:fix": "prettier --check ./src/**/*.{js,svelte,ts} ./*.{ts,cjs,js} && eslint ./src/**/*.{js,svelte,ts} --ignore-path .gitignore .",
"format": "prettier --ignore-path .gitignore --write ./src/**/*.{js,svelte,ts} ./*.{ts,cjs,js}",
"eslint": "eslint ./src/**/*.{js,svelte,ts} --ignore-path .gitignore .",
"eslint:fix": "eslint ./src/**/*.{js,svelte,ts} --ignore-path .gitignore . --fix",
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"dependencies": {
"@fontsource/fira-mono": "^4.2.2",
"@lukeed/uuid": "^2.0.0",
"cookie": "^0.4.1",
"micro-cookie-session": "^2.0.0-beta.1"
},
"devDependencies": {
"@babel/core": "^7.15.0",
"@fortawesome/fontawesome-free": "^5.15.4",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-regular-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@squoosh/lib": "^0.4.0",
"@storybook/addon-actions": "^6.3.8",
"@storybook/addon-cssresources": "^6.2.9",
"@storybook/addon-essentials": "^6.3.8",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.3.8",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addon-svelte-csf": "^1.1.0",
"@storybook/preset-scss": "^1.0.3",
"@storybook/svelte": "^6.3.8",
"@sveltejs/adapter-netlify": "^1.0.0-next.30",
"@sveltejs/adapter-node": "^1.0.0-next.43",
"@sveltejs/adapter-static": "^1.0.0-next.17",
"@sveltejs/adapter-vercel": "^1.0.0-next.26",
"@sveltejs/kit": "^1.0.0-next.142",
"@tailwindcss/typography": "^0.4.1",
"@types/cookie": "^0.4.1",
"@types/node": "^16.7.2",
"@types/node-fetch": "^2.5.12",
"@types/nprogress": "^0.2.0",
"@types/yargs": "^17.0.2",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"autoprefixer": "^10.3.3",
"cross-env": "^7.0.3",
"cssnano": "^5.0.6",
"cssnano-preset-advanced": "^5.1.4",
"date-fns": "^2.23.0",
"dotenv": "^10.0.0",
"eslint": "^7.22.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-svelte3": "^3.2.0",
"gray-matter": "^4.0.3",
"husky": "^7.0.2",
"image-size": "^1.0.0",
"lint-staged": "^11.1.2",
"node-fetch": "^2.6.1",
"npm-run-all": "^4.1.5",
"nprogress": "^0.2.0",
"postcss": "^8.3.5",
"postcss-cli": "^8.3.1",
"postcss-import": "^14.0.2",
"postcss-load-config": "^3.1.0",
"postcss-nested": "^5.0.6",
"postcss-scss": "^4.0.0",
"prettier": "~2.2.1",
"prettier-plugin-svelte": "^2.2.0",
"rimraf": "^3.0.2",
"sass": "^1.38.1",
"sass-loader": "^12.1.0",
"svelte": "^3.42.3",
"svelte-awesome": "^2.3.2",
"svelte-check": "^2.2.5",
"svelte-loader": "^3.1.2",
"svelte-preprocess": "^4.7.4",
"tailwindcss": "^2.2.4",
"ts-node": "^10.2.1",
"tslib": "^2.0.0",
"typescript": "^4.0.0",
"vite-imagetools": "^3.6.8",
"yargs": "^17.1.1"
},
"type": "module",
"engines": {
"node": ">= 14.16.1"
}
}