Add postcss step
This commit is contained in:
12
package.json
12
package.json
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user