-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.85 KB
/
package.json
File metadata and controls
52 lines (52 loc) · 1.85 KB
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
{
"name": "code-inspiration",
"description": "Capture snippets of code inspiration while on the go.",
"version": "1.0.1",
"private": true,
"license": "MIT",
"scripts": {
"dev": "sapper dev",
"prod": "npm run build && npm start # I added this based on the README",
"build": "sapper build --legacy",
"export": "sapper export --legacy",
"start": "node __sapper__/build",
"cy:run": "npx cypress run",
"cy:open": "npx cypress open",
"test": "run-p --race dev cy:run",
"surge": "npx sapper export; surge __sapper__/export https://code-inspiration.surge.sh; open https://code-inspiration.surge.sh",
"reminder": "echo; echo 'Reminders: \n\nDid you do \\033[1;34myarn build\\033[0m or \\033[1;34myarn export\\033[0m or \\033[1;34myarn surge\\033[0m first? \n\nDo you need to \\033[1;34m[skip ci]\\033[0m?'; echo;"
},
"husky": {
"hooks": {
"pre-commit": "npm run dev & (npm run reminder; sleep 3; if (npm run test); then (npm run reminder); else (npm run reminder && exit 1); fi;);"
}
},
"dependencies": {
"compression": "^1.7.1",
"polka": "next",
"redux": "^4.0.5",
"shepherd.js": "^7.1.5",
"sirv": "^1.0.0",
"svelte-highlight": "^0.6.0"
},
"devDependencies": {
"@babel/core": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-runtime": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/runtime": "^7.0.0",
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-replace": "^2.2.0",
"husky": "^4.2.5",
"npm-run-all": "^4.1.5",
"rollup": "^2.3.4",
"rollup-plugin-babel": "^4.0.2",
"rollup-plugin-svelte": "^5.0.1",
"rollup-plugin-terser": "^6.1.0",
"sapper": "^0.27.0",
"svelte": "^3.49.0",
"svelte-lazy": "^0.1.11"
}
}