Skip to content

Commit 8a7bd95

Browse files
Added npm scripts to build the project. Updated devdependencies
1 parent 7d99c4a commit 8a7bd95

File tree

2 files changed

+108
-67
lines changed

2 files changed

+108
-67
lines changed

package-lock.json

Lines changed: 99 additions & 62 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
"description": "Documentation website for CastleCSS",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"create_css": "grunt create_css",
9+
"create_html": "grunt create_html",
10+
"create_js": "webpack",
11+
"create_all": "npm run create_css & npm run create_html & npm run create_js & wait"
812
},
913
"keywords": [
1014
"documentation",
@@ -36,17 +40,17 @@
3640
"url": "git+https://github.com/CastleCSS/castlecss-docs.git"
3741
},
3842
"devDependencies": {
39-
"autoprefixer": "^7.1.3",
43+
"autoprefixer": "^7.1.4",
4044
"cssnano": "^3.10.0",
4145
"grunt": "^1.0.1",
42-
"grunt-contrib-watch": "~1.0.0",
43-
"grunt-nunjucks-2-html": "^3.0.0",
46+
"grunt-contrib-watch": "^1.0.0",
47+
"grunt-nunjucks-2-html": "^2.1.0",
4448
"grunt-postcss": "^0.8.0",
4549
"grunt-sass": "^2.0.0",
4650
"jit-grunt": "^0.10.0",
4751
"nunjucks": "^3.0.1",
4852
"pixrem": "^4.0.1",
49-
"webpack": "^3.5.5"
53+
"webpack": "^3.5.6"
5054
},
5155
"bugs": {
5256
"url": "https://github.com/CastleCSS/castlecss-docs/issues"

0 commit comments

Comments
 (0)