|
1 | 1 | { |
2 | 2 | "name": "css-modules-require-hook", |
3 | | - "version": "4.0.0", |
| 3 | + "version": "4.0.1", |
4 | 4 | "description": "A require hook to compile CSS Modules on the fly", |
5 | 5 | "main": "lib/index.js", |
6 | 6 | "engines": { |
7 | 7 | "node": ">=0.12" |
8 | 8 | }, |
9 | 9 | "scripts": { |
10 | | - "prepublish": "in-publish && npm run -s build || in-install", |
11 | 10 | "build": "babel lib --out-dir lib && babel preset.js --out-file preset.js", |
12 | 11 | "cleanup": "git reset --hard", |
| 12 | + "prepublish": "in-publish && npm run -s build || in-install", |
| 13 | + "publish": "in-publish && npm run -s cleanup || in-install", |
13 | 14 | "test": "npm run test:babel", |
14 | 15 | "test:babel": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --compilers js:babel-register", |
15 | 16 | "test:coverage": "NODE_PATH=$(pwd)/test/tokens/node_modules babel-node --presets es2015 `npm bin`/isparta cover --report text --report html `npm bin`/_mocha -- --require test/setup.js --ui tdd test/*/*.js", |
|
41 | 42 | "generic-names": "^1.0.1", |
42 | 43 | "glob-to-regexp": "^0.1.0", |
43 | 44 | "icss-replace-symbols": "^1.0.2", |
| 45 | + "in-publish": "^2.0.0", |
44 | 46 | "lodash": "^4.3.0", |
45 | 47 | "postcss": "^5.0.19", |
46 | 48 | "postcss-modules-extract-imports": "^1.0.0", |
|
54 | 56 | "babel-cli": "^6.5.1", |
55 | 57 | "babel-preset-es2015": "^6.5.0", |
56 | 58 | "babel-register": "^6.5.2", |
57 | | - "in-publish": "^2.0.0", |
58 | 59 | "isparta": "^4.0.0", |
59 | 60 | "mocha": "^2.4.5", |
60 | 61 | "postcss-less": "^0.2.0", |
|
0 commit comments