-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
26 lines (26 loc) · 960 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
{
"name": "@theprojectsomething/cvms",
"version": "0.1.0",
"description": "A simple, private website for your curriculum vitae",
"main": "_worker.js",
"type": "module",
"scripts": {
"build": "vite build",
"dev": "vite build --mode development & (sleep 2 && npm run preview)",
"preview": "wrangler pages dev ./dist --binding preview=1 --live-reload --local-protocol https",
"publish": "npm run build && (sleep 1 && wrangler pages publish ./dist)",
"deploy": "npm run publish",
"postinstall": "[ -e \".env.local\" ] && exit 0 || node -e 'console.log(`VITE_AUTH_SECRET_KEY=\"`+crypto.randomBytes(16).toString(`hex`)+`\"`)' > .env.local"
},
"author": "",
"license": "MIT",
"devDependencies": {
"globby": "^13.1.2",
"markdown-it-github-headings": "^2.0.1",
"sass": "^1.54.5",
"vite": "^3.1.0",
"vite-plugin-html-inject": "^1.0.0",
"vite-plugin-markdown": "^2.1.0",
"wrangler": "^2.0.27"
}
}