|
1 | 1 | {
|
2 | 2 | "name": "css-modules-require-hook",
|
3 |
| - "version": "2.1.1", |
| 3 | + "version": "3.0.0", |
4 | 4 | "description": "A require hook to compile CSS Modules on the fly",
|
5 |
| - "main": "index.js", |
| 5 | + "main": "lib/index.js", |
6 | 6 | "engines": {
|
7 | 7 | "node": ">=0.12"
|
8 | 8 | },
|
9 |
| - "dependencies": { |
10 |
| - "debug": "^2.2.0", |
11 |
| - "generic-names": "^1.0.1", |
12 |
| - "icss-replace-symbols": "^1.0.2", |
13 |
| - "lodash.assign": "^3.2.0", |
14 |
| - "lodash.foreach": "^3.0.3", |
15 |
| - "lodash.identity": "^3.0.0", |
16 |
| - "lodash.isarray": "^3.0.4", |
17 |
| - "lodash.isfunction": "^3.0.6", |
18 |
| - "lodash.isstring": "^3.0.1", |
19 |
| - "postcss-modules-parser": "^1.1.0" |
20 |
| - }, |
21 |
| - "devDependencies": { |
22 |
| - "babel": "^5.8.20", |
23 |
| - "babel-eslint": "^4.0.5", |
24 |
| - "css-loader": "^0.21.0", |
25 |
| - "css-modules-loader-core": "^1.0.0", |
26 |
| - "eslint": "^1.0.0", |
27 |
| - "eslint-config-airbnb": "0.0.7", |
28 |
| - "eslint-config-airbnb-lite": "^1.0.3", |
29 |
| - "eslint-watch": "^1.2.4", |
30 |
| - "extract-text-webpack-plugin": "^0.8.2", |
31 |
| - "in-publish": "^2.0.0", |
32 |
| - "isparta": "^3.0.3", |
33 |
| - "lodash": "^3.10.1", |
34 |
| - "mocha": "^2.2.5", |
35 |
| - "postcss": "^5.0.10", |
36 |
| - "postcss-loader": "^0.7.0", |
37 |
| - "postcss-modules-extract-imports": "^1.0.0", |
38 |
| - "postcss-modules-local-by-default": "^1.0.0", |
39 |
| - "postcss-modules-scope": "^1.0.0", |
40 |
| - "postcss-modules-values": "^1.1.0", |
41 |
| - "precommit-hook": "^3.0.0", |
42 |
| - "style-loader": "^0.13.0", |
43 |
| - "webpack": "^1.12.2" |
44 |
| - }, |
45 |
| - "peerDependencies": { |
46 |
| - "postcss": "^5.x", |
47 |
| - "postcss-modules-extract-imports": "^1.0.0", |
48 |
| - "postcss-modules-local-by-default": "^1.0.0", |
49 |
| - "postcss-modules-scope": "^1.0.0", |
50 |
| - "postcss-modules-values": "^1.1.0" |
51 |
| - }, |
52 | 9 | "scripts": {
|
53 |
| - "fixture": "webpack", |
54 |
| - "start": "esw -w .", |
55 |
| - "lint": "eslint .", |
56 |
| - "test": "mocha --compilers js:babel/register --timeout 5000", |
57 |
| - "test:cov": "`npm bin`/babel-node `npm bin`/isparta cover --report text --report html `npm bin`/_mocha", |
58 |
| - "test:gen": "babel-node generate-tests", |
59 |
| - "build": "babel src --out-dir dist", |
60 |
| - "prepublish": "in-publish && npm run -s build || in-install" |
| 10 | + "prepublish": "in-publish && npm run -s build || in-install", |
| 11 | + "test": "mocha --require test/setup.js --ui tdd test/*/*.js --harmony_destructuring --harmony_spread_arrays --use_strict", |
| 12 | + "test:w": "mocha --require test/setup.js --ui tdd --watch test/*/*.js --harmony_destructuring --harmony_spread_arrays --use_strict" |
61 | 13 | },
|
62 | 14 | "repository": {
|
63 | 15 | "type": "git",
|
|
77 | 29 | "url": "https://github.com/css-modules/css-modules-require-hook/issues"
|
78 | 30 | },
|
79 | 31 | "homepage": "https://github.com/css-modules/css-modules-require-hook",
|
80 |
| - "pre-commit": [ |
81 |
| - "lint", |
82 |
| - "test" |
83 |
| - ] |
| 32 | + "pre-commit": [], |
| 33 | + "dependencies": { |
| 34 | + "debug": "^2.2.0", |
| 35 | + "generic-names": "^1.0.1", |
| 36 | + "icss-replace-symbols": "^1.0.2", |
| 37 | + "lodash": "^4.3.0", |
| 38 | + "postcss": "^5.0.15", |
| 39 | + "postcss-modules-extract-imports": "^1.0.0", |
| 40 | + "postcss-modules-local-by-default": "^1.0.1", |
| 41 | + "postcss-modules-parser": "^1.1.0", |
| 42 | + "postcss-modules-scope": "^1.0.0", |
| 43 | + "postcss-modules-values": "^1.1.1" |
| 44 | + }, |
| 45 | + "devDependencies": { |
| 46 | + "mocha": "^2.4.5", |
| 47 | + "sinon": "^1.17.3" |
| 48 | + } |
84 | 49 | }
|
0 commit comments