File tree 2 files changed +21
-7
lines changed
2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
+ - " 4"
3
4
- " 6"
4
5
- " node"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " icss-utils" ,
3
- "version" : " 4 .0.0 " ,
3
+ "version" : " 3 .0.1 " ,
4
4
"description" : " ICSS utils for postcss ast" ,
5
- "main" : " src/index.js" ,
6
- "engines" : {
7
- "node" : " >= 6"
8
- },
5
+ "main" : " lib/index.js" ,
9
6
"files" : [
10
- " src "
7
+ " lib "
11
8
],
12
9
"scripts" : {
10
+ "build" : " babel --out-dir lib src" ,
13
11
"test" : " jest --coverage" ,
14
12
"precommit" : " lint-staged" ,
15
- "prepublish" : " yarn test"
13
+ "prepublish" : " yarn test && yarn run build "
16
14
},
17
15
"lint-staged" : {
18
16
"*.js" : [
30
28
},
31
29
"extends" : " eslint:recommended"
32
30
},
31
+ "babel" : {
32
+ "presets" : [
33
+ [
34
+ " env" ,
35
+ {
36
+ "targets" : {
37
+ "node" : 4
38
+ }
39
+ }
40
+ ]
41
+ ]
42
+ },
33
43
"repository" : {
34
44
"type" : " git" ,
35
45
"url" : " git+https://github.com/css-modules/icss-utils.git"
50
60
"postcss" : " ^7.0.5"
51
61
},
52
62
"devDependencies" : {
63
+ "babel-cli" : " ^6.24.1" ,
64
+ "babel-jest" : " ^20.0.3" ,
65
+ "babel-preset-env" : " ^1.5.2" ,
53
66
"eslint" : " ^4.0.0" ,
54
67
"husky" : " ^0.13.4" ,
55
68
"jest" : " ^20.0.4" ,
You can’t perform that action at this time.
0 commit comments