-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
47 lines (47 loc) · 2.04 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
{
"name": "enketo-website",
"version": "1.0.0",
"description": "Enketo Project Website",
"author": "Martijn van de Rijdt <martijn@enketo.org> (https://enketo.org)",
"homepage": "https://enketo.org",
"repository": {
"type": "git",
"url": "https://github.com/enketo/enketo-website"
},
"bugs": "https://github.com/enketo/enketo-website/issues",
"ua": "UA-6765789-10",
"scripts": {
"start": "http-server public",
"test": "eslint src/js/all.js && npm run build",
"install": "npm run build",
"clean": "if [ -d \"public\" ]; then rm -R public ; fi; mkdir public; mkdir public/js",
"copy": "cp -R src/media public/media && cp -f src/js/navigation.json public/js/ && cp -f _* public && cp -f manifest.json public/",
"convert": "node ./tools/images.mjs",
"sitemap": "node ./tools/sitemap.js",
"js": "browserify src/js/all.js -o public/js/all.js",
"terser": "terser public/js/all.js -o public/js/all.min.js -m -c",
"pug": "pug -O tools/options.js src/views -o public",
"pug-w": "pug -O tools/options.js src/views -o public -w",
"css": "node-sass src/scss -o public/css",
"css-w": "node-sass src/scss -o public/css -w",
"livereload": "livereload \"public/css/**/*.css, public/**/*.html\" -d -w 1000",
"build": "npm run clean && npm run copy && npm run convert && npm run sitemap && npm run js && npm run pug && npm run css && npm run terser",
"develop": "npm run js & npm run pug-w & npm run css-w & npm run livereload & npm run start"
},
"license": "Apache-2.0",
"devDependencies": {
"browserify": "^17.0.0",
"eslint": "^8.38.0",
"highlight.js": "^11.7.0",
"http-server": "^14.1.1",
"imagemin": "^8.0.1",
"imagemin-webp": "^8.0.0",
"livereload": "^0.9.3",
"marked": "4.3.0",
"mime-types": "^2.1.35",
"node-sass": "^8.0.0",
"pug": "^3.0.2",
"pug-cli": "1.0.0-alpha6",
"terser": "^5.16.8"
}
}