|
3 | 3 | "version": "1.3.0", |
4 | 4 | "description": "PostCSS plugin for CSS Modules to pass arbitrary values between your module files", |
5 | 5 | "main": "lib/index.js", |
| 6 | + "files": [ |
| 7 | + "lib" |
| 8 | + ], |
6 | 9 | "scripts": { |
7 | | - "lint": "standard src test", |
8 | 10 | "build": "babel --out-dir lib src", |
9 | | - "autotest": "chokidar src test -c 'npm test'", |
10 | | - "test": "mocha --compilers js:babel-core/register", |
11 | | - "posttest": "npm run lint && npm run build", |
12 | | - "travis": "npm run test", |
13 | | - "prepublish": "npm run build" |
| 11 | + "lint": "standard src test", |
| 12 | + "test": "jest --coverage", |
| 13 | + "posttest": "yarn run lint", |
| 14 | + "prepublish": "yarn run build" |
| 15 | + }, |
| 16 | + "babel": { |
| 17 | + "presets": [ |
| 18 | + [ |
| 19 | + "env", |
| 20 | + { |
| 21 | + "targets": { |
| 22 | + "node": 4 |
| 23 | + } |
| 24 | + } |
| 25 | + ] |
| 26 | + ] |
14 | 27 | }, |
15 | 28 | "repository": { |
16 | 29 | "type": "git", |
|
29 | 42 | "homepage": "https://github.com/css-modules/postcss-modules-values#readme", |
30 | 43 | "devDependencies": { |
31 | 44 | "babel-cli": "^6.5.2", |
32 | | - "babel-core": "^6.5.2", |
33 | | - "babel-plugin-add-module-exports": "^0.2.1", |
34 | | - "babel-preset-es2015": "^6.3.13", |
35 | | - "chokidar": "^1.2.0", |
36 | | - "mocha": "^3.0.2", |
| 45 | + "babel-jest": "^20.0.3", |
| 46 | + "babel-preset-env": "^1.5.0", |
| 47 | + "jest": "^20.0.3", |
37 | 48 | "standard": "^8.4.0" |
38 | 49 | }, |
39 | 50 | "dependencies": { |
40 | 51 | "icss-replace-symbols": "^1.1.0", |
41 | 52 | "postcss": "^6.0.1" |
42 | | - }, |
43 | | - "babel": { |
44 | | - "presets": [ |
45 | | - "es2015" |
46 | | - ], |
47 | | - "plugins": [ |
48 | | - "add-module-exports" |
49 | | - ] |
50 | 53 | } |
51 | 54 | } |
0 commit comments