-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
executable file
·68 lines (68 loc) · 2.61 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
{
"name": "cuttlebelle-website",
"private": true,
"version": "1.0.0",
"description": "Cuttlebelle documentation website.",
"scripts": {
"docs": "cuttlebelle docs",
"build:site": "cuttlebelle",
"build:autoprefix": "postcss code/assets/css/*.css -u autoprefixer -r --no-map",
"build:sass": "mkdir -p code/assets/css/ && node-sass --output-style compressed -o code/assets/css code/sass/style.scss",
"build:css": "npm run build:sass && npm run build:autoprefix",
"build:js-header": "concat-cli -f code/js/header/*.js -o code/assets/js/header.js",
"build:js-footer": "concat-cli -f code/js/footer/*.js -o code/assets/js/footer.js",
"build:uglify": "uglifyjs code/assets/js/header.js --compress --output code/assets/js/header.js && uglifyjs code/assets/js/footer.js --compress --output code/assets/js/footer.js",
"build:js": "mkdir -p code/assets/js/ && npm run build:js-header && npm run build:js-footer && npm run build:uglify",
"build:assets": "npm run build:css && npm run build:js",
"build": "npm run build:assets && npm run build:site",
"watch:sass": "onchange 'code/sass/**/*.scss' -- npm run build:css",
"watch:js": "onchange 'code/js/**/*.js' -- npm run build:js",
"watch:site": "cuttlebelle -w -n",
"watch": "npm run build && npm run watch:sass | npm run watch:js | npm run watch:site",
"nuke": "rm -rf site && rm -rf docs && rm -rf node_modules && rm yarn.lock",
"test": "echo 'Error: no test specified' && exit 0"
},
"repository": "https://github.com/cuttlebelle/website",
"author": {
"name": "Dominik Wilkowski",
"email": "[email protected]",
"url": "https://dominik-wilkowski.com/"
},
"homepage": "http://cuttlebelle.com",
"contributors": [
{
"name": "Dominik Wilkowski",
"email": "[email protected]",
"url": "https://dominik-wilkowski.com/"
}
],
"licenses": [
{
"type": "GPL-3.0",
"url": "https://github.com/cuttlebelle/website/blob/master/LICENSE"
}
],
"dependencies": {
"autoprefixer": "^10",
"cuttlebelle": "latest",
"node-sass": "^7",
"postcss-cli": "^8",
"slugify": "^1",
"uglify-js": "^3"
},
"devDependencies": {
"concat-cli": "^4",
"onchange": "^7",
"postcss": "^8"
},
"cuttlebelle": {
"folder": {
"code": "code/layout",
"assets": "code/assets"
},
"site": {
"doctype": "<!DOCTYPE html><!--[if lt IE 8]><html class=\"no-js lt-ie8 lt-ie9\" lang=\"en\"><![endif]--><!--[if IE 8]><html class=\"no-js lt-ie9 ie8\" lang=\"en\"><![endif]--><!--[if IE 9 ]><html class=\"no-js ie9\" lang=\"en\"><![endif]--><!--[if !(IE)]><!--><html class=\"no-js\" lang=\"en\"><!--<![endif]-->",
"markdownRenderer": "code/markdown/renderer.js"
}
}
}