-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathpackage.json
71 lines (71 loc) · 2.71 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
{
"name": "starter",
"version": "3.1.0",
"description": "Starter template for Pudding stories",
"author": "The Pudding",
"license": "MIT",
"engines": {
"node": "16.17.1"
},
"devDependencies": {
"archieml": "0.5.0",
"autoprefixer-stylus": "1.0.0",
"cli-error-notifier": "3.0.1",
"cross-env": "7.0.3",
"d3-dsv": "2.0.0",
"handlebars": "4.7.7",
"inline-source": "8.0.2",
"light-server": "2.9.1",
"lodash.debounce": "4.0.8",
"nouislider": "15.6.1",
"npm-run-all": "4.1.5",
"onchange": "7.1.0",
"prettier": "2.7.1",
"replace-in-file": "6.3.5",
"request": "2.88.2",
"rimraf": "3.0.2",
"stylus": "0.59.0",
"webpack": "5.74.0",
"webpack-cli": "4.10.0"
},
"main": "scripts/main.js",
"scripts": {
"depudding": "node ./scripts/depudding.js",
"doc": "node ./scripts/fetch-doc.js",
"sheet": "node ./scripts/fetch-sheet.js",
"build": "run-s build:assets build:css build:js build:html",
"prebuild": "rm -rf .tmp .cache dev && mkdir .tmp .cache dev",
"build:assets": "cp -r src/assets dev",
"build:css": "onerror \"stylus src/css/config.styl -u autoprefixer-stylus -o dev/bundle.css -m\" -t \"Build Error in CSS\" -m \"See terminal for details\" -s Basso",
"build:js": "webpack --mode='development' --config webpack.config.js",
"build:html": "onerror \"node ./scripts/html.js\" -t \"Build Error in HTML\" -m \"See terminal for details\" -s Basso",
"protect": "npm run deploy && npx staticrypt dist/index.html changethispassword -o dist/index.html",
"deploy": "cross-env NODE_ENV=dist run-s deploy:*",
"predeploy": "rm -rf .tmp .cache dist && mkdir .tmp .cache dist",
"deploy:assets": "cp -r src/assets dist",
"deploy:css": "stylus src/css/config.styl -u autoprefixer-stylus -o dist/bundle.css -c",
"deploy:js": "webpack --env='production' --mode='production' --config webpack.config.js",
"deploy:html": "node ./scripts/html.js",
"watch:assets": "onchange -k \"src/assets/**/*\" -- run-s build:assets",
"watch:html": "onchange \"src/html/**/*\" \"data/*/\" -- run-s build:html",
"watch:css": "stylus src/css/config.styl -u autoprefixer-stylus -o dev/bundle.css -m -w",
"watch:js": "onchange -k \"src/js/**/*\" -- run-s build:js",
"serve": "light-server -q -o -s dev -p 4000 -w \"dev/*.css # # reloadcss\" -w \"dev/*.js # #\" -w \"dev/*.html # #\" -w \"dev/assets/**/* # #\"",
"dev": "run-p serve watch:*",
"start": "cross-env NODE_ENV=dev run-s build dev"
},
"repository": {
"type": "git",
"url": "git+https://github.com/polygraph-cool/starter.git"
},
"keywords": [
"pudding",
"starter",
"template"
],
"bugs": {
"url": "https://github.com/polygraph-cool/starter/issues"
},
"homepage": "https://github.com/polygraph-cool/starter#readme",
"browserslist": "last 3 versions"
}