File tree Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Expand file tree Collapse file tree 2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 11language : node_js
22node_js :
3+ - " 4"
34 - " 6"
45 - " node"
Original file line number Diff line number Diff line change 11{
22 "name" : " icss-utils" ,
3- "version" : " 4 .0.0 " ,
3+ "version" : " 3 .0.1 " ,
44 "description" : " ICSS utils for postcss ast" ,
5- "main" : " src/index.js" ,
6- "engines" : {
7- "node" : " >= 6"
8- },
5+ "main" : " lib/index.js" ,
96 "files" : [
10- " src "
7+ " lib "
118 ],
129 "scripts" : {
10+ "build" : " babel --out-dir lib src" ,
1311 "test" : " jest --coverage" ,
1412 "precommit" : " lint-staged" ,
15- "prepublish" : " yarn test"
13+ "prepublish" : " yarn test && yarn run build "
1614 },
1715 "lint-staged" : {
1816 "*.js" : [
3028 },
3129 "extends" : " eslint:recommended"
3230 },
31+ "babel" : {
32+ "presets" : [
33+ [
34+ " env" ,
35+ {
36+ "targets" : {
37+ "node" : 4
38+ }
39+ }
40+ ]
41+ ]
42+ },
3343 "repository" : {
3444 "type" : " git" ,
3545 "url" : " git+https://github.com/css-modules/icss-utils.git"
5060 "postcss" : " ^7.0.5"
5161 },
5262 "devDependencies" : {
63+ "babel-cli" : " ^6.24.1" ,
64+ "babel-jest" : " ^20.0.3" ,
65+ "babel-preset-env" : " ^1.5.2" ,
5366 "eslint" : " ^4.0.0" ,
5467 "husky" : " ^0.13.4" ,
5568 "jest" : " ^20.0.4" ,
You can’t perform that action at this time.
0 commit comments