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 1919 "author" : " Alexey Litvinov" ,
2020 "license" : " MIT" ,
2121 "dependencies" : {
22- "css-modules-require-hook" : " ^4.0.5 " ,
22+ "css-modules-require-hook" : " next " ,
2323 "express" : " ^4.14.0" ,
2424 "react" : " ^15.3.2" ,
2525 "react-dom" : " ^15.3.2"
Original file line number Diff line number Diff line change 11{
22 "name" : " css-modules-require-hook" ,
3- "version" : " 4.1 .0" ,
3+ "version" : " 4.2 .0" ,
44 "description" : " A require hook to compile CSS Modules on the fly" ,
55 "main" : " lib/index.js" ,
66 "engines" : {
6060 "postcss-modules-extract-imports" : " ^1.0.0" ,
6161 "postcss-modules-local-by-default" : " ^1.0.1" ,
6262 "postcss-modules-parser" : " ^1.1.0" ,
63- "postcss-modules-resolve-imports" : " next " ,
63+ "postcss-modules-resolve-imports" : " ^1.3.0 " ,
6464 "postcss-modules-scope" : " ^1.0.0" ,
6565 "postcss-modules-values" : " ^1.1.1" ,
6666 "seekout" : " ^1.0.1"
Original file line number Diff line number Diff line change @@ -22,16 +22,12 @@ case "$1" in
2222esac
2323
2424# test the code
25- npm run test:node || exit 1
25+ npm run test || exit 1
2626# update package version
2727npm --no-git-tag-version version " $versionType "
2828git add package.json
2929version=` sed -n ' /version/p' package.json| cut -d' "' -f4`
3030git commit -m " version $version "
3131git tag " $version "
3232
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
3633npm publish
37- git reset HEAD --hard
You can’t perform that action at this time.
0 commit comments