Skip to content

Commit bacafac

Browse files
author
GuyR
committed
add auto prefixer
1 parent bccb20e commit bacafac

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
"test": "karma start --single-run",
88
"rt": "rt -m commonjs src/main/customScroll.rt -r --react-import-path react",
99
"rtex": "rt -m amd example/firstComp/firstComp.rt -r --react-import-path React",
10-
"sass": "node-sass src/main/cs.scss > src/main/customScroll.css",
11-
"sassex": "node-sass example/main.scss > example/styles.css",
10+
"sass": "node-sass src/main/cs.scss | postcss --use autoprefixer -b 'last 2 versions' > src/main/customScroll.css",
11+
"sassex": "node-sass example/main.scss | postcss --use autoprefixer -b 'last 2 versions' > example/styles.css",
1212
"lint": "eslint .",
1313
"start": "npm run lint && npm run sass && npm run sassex && npm run rt && npm run rtex && webpack -p"
1414
},
@@ -26,6 +26,7 @@
2626
"lodash": "^3.10.1"
2727
},
2828
"devDependencies": {
29+
"autoprefixer": "6.3.6",
2930
"babel-core": "6.5.2",
3031
"babel-loader": "6.2.4",
3132
"css-loader": "0.23.1",
@@ -40,6 +41,7 @@
4041
"karma-sourcemap-loader": "0.3.7",
4142
"karma-webpack": "1.7.0",
4243
"node-sass": "3.4.2",
44+
"postcss-cli": "2.5.1",
4345
"react": "^0.14.7",
4446
"react-addons-test-utils": "0.14.7",
4547
"react-dom": "^0.14.7",

0 commit comments

Comments
 (0)