File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 19
19
"author" : " Alexey Litvinov" ,
20
20
"license" : " MIT" ,
21
21
"dependencies" : {
22
- "css-modules-require-hook" : " ^4.0.5 " ,
22
+ "css-modules-require-hook" : " next " ,
23
23
"express" : " ^4.14.0" ,
24
24
"react" : " ^15.3.2" ,
25
25
"react-dom" : " ^15.3.2"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " css-modules-require-hook" ,
3
- "version" : " 4.1 .0" ,
3
+ "version" : " 4.2 .0" ,
4
4
"description" : " A require hook to compile CSS Modules on the fly" ,
5
5
"main" : " lib/index.js" ,
6
6
"engines" : {
60
60
"postcss-modules-extract-imports" : " ^1.0.0" ,
61
61
"postcss-modules-local-by-default" : " ^1.0.1" ,
62
62
"postcss-modules-parser" : " ^1.1.0" ,
63
- "postcss-modules-resolve-imports" : " next " ,
63
+ "postcss-modules-resolve-imports" : " ^1.3.0 " ,
64
64
"postcss-modules-scope" : " ^1.0.0" ,
65
65
"postcss-modules-values" : " ^1.1.1" ,
66
66
"seekout" : " ^1.0.1"
Original file line number Diff line number Diff line change @@ -22,16 +22,12 @@ case "$1" in
22
22
esac
23
23
24
24
# test the code
25
- npm run test:node || exit 1
25
+ npm run test || exit 1
26
26
# update package version
27
27
npm --no-git-tag-version version " $versionType "
28
28
git add package.json
29
29
version=` sed -n ' /version/p' package.json| cut -d' "' -f4`
30
30
git commit -m " version $version "
31
31
git tag " $version "
32
32
33
- cli=node_modules/.bin
34
- ${cli} /babel lib --out-dir lib || exit 1
35
- ${cli} /babel preset.js --out-file preset.js || exit 1
36
33
npm publish
37
- git reset HEAD --hard
You can’t perform that action at this time.
0 commit comments