generated from martinjc/online-course-notes-11ty
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
56 lines (56 loc) · 2.32 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
{
"name": "introduction-to-html-and-css",
"version": "1.0.0",
"description": "an introduction to HTML and CSS",
"main": "index.js",
"scripts": {
"reinstall": "rimraf node_modules && npm cache clean && npm install",
"clean": "rimraf public",
"start": "npm-run-all --parallel serve watch",
"mkdirs": "mkdir -p public/css",
"build:alex": "alex src/",
"build:eleventy:dev": "cross-env NODE_ENV=development eleventy",
"build:eleventy:prod": "cross-env NODE_ENV=production eleventy",
"build:css:dev": "sass src/_sass/main.scss > public/css/main.css",
"build:css:prod": "sass src/_sass/main.scss | postcss -u autoprefixer -b 'last 2 versions' -u cssnano --no-map > public/css/main.css",
"prebuild:dev": "npm run clean && npm run mkdirs",
"build:dev": "npm run build:css:dev && npm run build:eleventy:dev",
"prebuild:prod": "npm run clean && npm run mkdirs",
"build:prod": "npm run build:css:prod && npm run build:eleventy:prod",
"preserve": "npm run build:dev",
"serve": "browser-sync start -s --files 'public/**/*.(js|css|html)' --ss 'public' --port 8080 --no-open",
"watch": "npm-run-all --parallel watch:*",
"watch:eleventy": "onchange --await-write-finish 4000 'src/**/*.njk' 'src/**/*.md' 'src/**/*.json' -- npm run build:eleventy:dev",
"watch:css": "onchange --await-write-finish 4000 'src/_sass/**/*.scss' -- npm run build:css:dev && npm run build:eleventy:dev"
},
"repository": {
"type": "git",
"url": "git+https://github.com/martinjc/introduction-to-html-and-css.git"
},
"author": "Martin Chorley",
"license": "MIT",
"bugs": {
"url": "https://github.com/martinjc/introduction-to-html-and-css/issues"
},
"homepage": "https://github.com/martinjc/introduction-to-html-and-css#readme",
"dependencies": {},
"devDependencies": {
"@11ty/eleventy": "^1.0.2",
"@11ty/eleventy-img": "^2.0.1",
"@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4",
"alex": "^11.0.0",
"autoprefixer": "^10.0.1",
"browser-sync": "^2.26.13",
"cross-env": "^7.0.2",
"cssnano": "^5.1.14",
"markdown-it-emoji": "^2.0.0",
"markdown-it-footnote": "^3.0.2",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss": "^8.1.4",
"postcss-cli": "^8.1.0",
"rimraf": "^3.0.2",
"sass": "^1.56.1"
}
}