Add postcss step

This commit is contained in:
Tom Raithel
2017-01-25 14:04:23 +01:00
parent 3443ae050a
commit 4766ec7774
6 changed files with 24 additions and 40 deletions

View File

@@ -4,9 +4,10 @@
"description": "",
"main": "index.js",
"scripts": {
"build": "npm run clean && npm run build:radar && npm run build:webpack",
"build": "npm run clean && npm run build:radar && npm run build:js && npm run build:css",
"build:radar": "babel-node ./tasks/build.js",
"build:webpack": "webpack --config webpack.config.js",
"build:js": "webpack --config webpack.config.js",
"build:css": "postcss -c postcss.config.json -d dist/ styles/*.css ",
"clean": "babel-node ./tasks/clean.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
@@ -14,18 +15,17 @@
"license": "MIT",
"dependencies": {
"async": "2.1.4",
"autoprefixer": "6.7.0",
"babel-cli": "6.22.2",
"babel-loader": "6.2.10",
"babel-preset-latest": "6.22.0",
"babel-preset-stage-0": "6.22.0",
"css-loader": "0.26.1",
"extract-text-webpack-plugin": "2.0.0-beta.5",
"front-matter": "2.1.1",
"fs-extra": "2.0.0",
"marked": "0.3.6",
"postcss-loader": "1.2.2",
"postcss-cli": "2.6.0",
"postcss-nested": "1.0.0",
"pug": "2.0.0-beta8",
"style-loader": "0.13.1",
"walk": "2.3.9",
"webpack": "2.2.0"
}