|
4 | 4 | "description": "A require hook to compile CSS Modules on the fly",
|
5 | 5 | "main": "lib/index.js",
|
6 | 6 | "engines": {
|
7 |
| - "node": ">=0.12" |
8 |
| - }, |
9 |
| - "scripts": { |
10 |
| - "lint": "eslint lib/**/*.js", |
11 |
| - "test": "npm run test:babel", |
12 |
| - "test:babel": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --compilers js:babel-register", |
13 |
| - "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", |
14 |
| - "test:node": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit", |
15 |
| - "test:watch": "NODE_PATH=$(pwd)/test/tokens/node_modules $npm_package_scripts_test_unit --watch", |
16 |
| - "test:unit": "mocha --require test/setup.js --ui tdd test/*/*.js" |
| 7 | + "node": ">= 4" |
17 | 8 | },
|
18 | 9 | "repository": {
|
19 | 10 | "type": "git",
|
|
45 | 36 | "pre-commit": [
|
46 | 37 | "lint"
|
47 | 38 | ],
|
| 39 | + "devDependencies": { |
| 40 | + "@sullenor/eslint-config": "next", |
| 41 | + "babel-preset-env": "^1.6.0", |
| 42 | + "babel-register": "^6.26.0", |
| 43 | + "eslint": "^4.6.1", |
| 44 | + "gulp": "^3.9.1", |
| 45 | + "gulp-babel": "^7.0.0", |
| 46 | + "gulp-debug": "^3.1.0", |
| 47 | + "jest": "^21.0.2", |
| 48 | + "mocha": "^3.5.1", |
| 49 | + "postcss-less": "^1.1.0", |
| 50 | + "pre-commit": "^1.2.2", |
| 51 | + "sinon": "^3.2.1" |
| 52 | + }, |
48 | 53 | "dependencies": {
|
49 | 54 | "debug": "^2.2.0",
|
50 | 55 | "generic-names": "^1.0.1",
|
|
55 | 60 | "postcss-modules-extract-imports": "^1.0.0",
|
56 | 61 | "postcss-modules-local-by-default": "^1.0.1",
|
57 | 62 | "postcss-modules-parser": "^1.1.0",
|
| 63 | + "postcss-modules-resolve-imports": "next", |
58 | 64 | "postcss-modules-scope": "^1.0.0",
|
59 | 65 | "postcss-modules-values": "^1.1.1",
|
60 | 66 | "seekout": "^1.0.1"
|
61 | 67 | },
|
62 |
| - "devDependencies": { |
63 |
| - "@sullenor/eslint-config": "^1.1.0", |
64 |
| - "babel-cli": "^6.5.1", |
65 |
| - "babel-preset-es2015": "^6.5.0", |
66 |
| - "babel-register": "^6.5.2", |
67 |
| - "eslint": "^4.6.1", |
68 |
| - "isparta": "^4.0.0", |
69 |
| - "mocha": "^3.4.2", |
70 |
| - "postcss-less": "^1.0.1", |
71 |
| - "pre-commit": "^1.2.2", |
72 |
| - "sinon": "^2.3.2" |
| 68 | + "scripts": { |
| 69 | + "lint": "eslint src/**/*.js", |
| 70 | + "prepublish": "npm run transpile", |
| 71 | + "pretest": "npm run transpile", |
| 72 | + "test": "NODE_PATH=$(pwd)/test/tokens/node_modules mocha --require test/setup.js --ui tdd test/*/*.js --compilers js:babel-register", |
| 73 | + "transpile": "gulp --cwd . --gulpfile scripts/gulpfile.js transpile" |
73 | 74 | }
|
74 | 75 | }
|
0 commit comments