|
25 | 25 | "test": "gulp test", |
26 | 26 | "clean": "rm -rf dist && mkdir dist", |
27 | 27 | "html": "posthtml -o docs/ -i src/docs/*.html", |
28 | | - "css": "postcss -o dist/css/slims.min.css src/css/slims.css -c postcss.json", |
| 28 | + "css": "postcss -o dist/css/slims.min.css src/css/slims.css -c postcss.json && cp -a dist/. docs/", |
29 | 29 | "build": "npm run clean && npm run css && npm run html", |
30 | | - "deploy": "gulp deploy", |
| 30 | + "watch:docs": "chokidar src/docs/**/* -c \"npm run html\"", |
| 31 | + "watch:css": "chokidar src/css/**/* -c \"npm run css\"", |
| 32 | + "watch": "npm run watch:docs | npm run watch:css", |
| 33 | + "server": "browser-sync start --server docs --files docs", |
| 34 | + "dev": " npm run server | npm run watch", |
31 | 35 | "update": "updtr" |
32 | 36 | }, |
33 | 37 | "files": [ |
|
41 | 45 | "babel-eslint": "^7.1.1", |
42 | 46 | "babel-preset-env": "^1.1.7", |
43 | 47 | "babel-register": "^6.18.0", |
| 48 | + "browser-sync": "^2.18.6", |
| 49 | + "chokidar-cli": "^1.2.0", |
44 | 50 | "clinton": "^0.10.0", |
45 | 51 | "conventional-changelog-cli": "^1.2.0", |
46 | 52 | "conventional-changelog-lint": "^1.1.0", |
|
75 | 81 | "postcss-nested": "^1.0.0", |
76 | 82 | "postcss-reduce-initial": "^1.0.1", |
77 | 83 | "postcss-sorting": "^1.7.0", |
78 | | - "posthtml-cli": "^0.2.11", |
| 84 | + "posthtml-cli": "^0.2.10", |
79 | 85 | "posthtml-expressions": "^1.1.0", |
80 | 86 | "posthtml-extend": "^0.1.2", |
81 | 87 | "posthtml-modules": "^0.4.2", |
|
0 commit comments