|
5 | 5 | "url": "http://gajus.com" |
6 | 6 | }, |
7 | 7 | "dependencies": { |
8 | | - "ajv": "^6.5.0", |
| 8 | + "@babel/plugin-syntax-jsx": "^7.0.0", |
| 9 | + "@babel/types": "^7.0.0", |
| 10 | + "ajv": "^6.5.3", |
9 | 11 | "ajv-keywords": "^3.2.0", |
10 | | - "babel-plugin-syntax-jsx": "^6.18.0", |
11 | | - "babel-types": "^6.26.0", |
12 | | - "generic-names": "^1.0.3", |
13 | | - "postcss": "^6.0.22", |
14 | | - "postcss-modules": "^1.1.0", |
15 | | - "postcss-modules-extract-imports": "^1.1.0", |
| 12 | + "generic-names": "^2.0.1", |
| 13 | + "postcss": "^7.0.2", |
| 14 | + "postcss-modules": "^1.3.2", |
| 15 | + "postcss-modules-extract-imports": "^1.2.0", |
16 | 16 | "postcss-modules-local-by-default": "^1.2.0", |
17 | 17 | "postcss-modules-parser": "^1.1.1", |
18 | 18 | "postcss-modules-scope": "^1.1.0", |
19 | 19 | "postcss-modules-values": "^1.3.0" |
20 | 20 | }, |
21 | 21 | "description": "Transforms styleName to className using compile time CSS module resolution.", |
22 | 22 | "devDependencies": { |
23 | | - "babel-cli": "^6.26.0", |
24 | | - "babel-helper-plugin-test-runner": "^6.24.1", |
25 | | - "babel-plugin-transform-es2015-destructuring": "^6.23.0", |
26 | | - "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", |
27 | | - "babel-plugin-transform-es2015-parameters": "^6.24.1", |
28 | | - "babel-plugin-transform-flow-strip-types": "^6.22.0", |
29 | | - "babel-preset-es2015": "^6.24.1", |
30 | | - "eslint": "^4.19.1", |
31 | | - "eslint-config-canonical": "^9.3.2", |
32 | | - "flow-bin": "^0.72.0", |
33 | | - "husky": "^0.14.3", |
34 | | - "mocha": "^5.2.0", |
35 | | - "postcss-less": "^1.1.5", |
| 23 | + "@babel/cli": "^7.0.0", |
| 24 | + "@babel/core": "^7.0.0", |
| 25 | + "@babel/helper-plugin-test-runner": "^7.0.0", |
| 26 | + "@babel/plugin-transform-flow-strip-types": "^7.0.0", |
| 27 | + "@babel/preset-env": "^7.0.0", |
| 28 | + "@babel/register": "^7.0.0", |
| 29 | + "babel-core": "^7.0.0-bridge.0", |
| 30 | + "babel-plugin-tester": "^5.5.1", |
| 31 | + "eslint": "^5.5.0", |
| 32 | + "eslint-config-canonical": "^12.0.0", |
| 33 | + "flow-bin": "^0.80.0", |
| 34 | + "husky": "^1.0.0-rc.13", |
| 35 | + "jest": "^23.5.0", |
| 36 | + "postcss-less": "^2.0.0", |
36 | 37 | "postcss-nested": "^3.0.0", |
37 | | - "postcss-scss": "^1.0.5", |
38 | | - "semantic-release": "^15.5.0" |
| 38 | + "postcss-scss": "^2.0.0", |
| 39 | + "semantic-release": "^15.9.12" |
39 | 40 | }, |
40 | 41 | "engines": { |
41 | | - "node": ">4.0.0" |
| 42 | + "node": ">8.0.0" |
| 43 | + }, |
| 44 | + "husky": { |
| 45 | + "hooks": { |
| 46 | + "pre-commit": "npm run test && npm run lint" |
| 47 | + } |
| 48 | + }, |
| 49 | + "jest": { |
| 50 | + "modulePathIgnorePatterns": [ |
| 51 | + "/test/fixtures/" |
| 52 | + ], |
| 53 | + "testEnvironment": "node", |
| 54 | + "testRegex": "./test/.+\\.js$" |
42 | 55 | }, |
43 | 56 | "keywords": [ |
44 | 57 | "babel-plugin", |
|
55 | 68 | "build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --source-maps --copy-files && npm run build-helper", |
56 | 69 | "build-helper": "mkdir -p ./dist/browser && NODE_ENV=production babel ./src/getClassName.js --out-file ./dist/browser/getClassName.js --source-maps --no-babelrc --plugins transform-es2015-modules-commonjs,transform-flow-strip-types --presets es2015", |
57 | 70 | "lint": "eslint ./src && flow", |
58 | | - "precommit": "npm run test && npm run lint", |
59 | | - "test": " NODE_ENV=test mocha --require babel-core/register" |
| 71 | + "test": "jest" |
60 | 72 | }, |
61 | 73 | "version": "1.0.0" |
62 | 74 | } |
0 commit comments