|
2 | 2 | "name": "mindfront-redux-utils-immutable", |
3 | 3 | "version": "0.0.0-development", |
4 | 4 | "description": "utilities for working with redux and immutable.js", |
5 | | - "main": "lib/index.js", |
6 | | - "module": "module/index.js", |
| 5 | + "main": "index.js", |
| 6 | + "module": "es/index.js", |
| 7 | + "modules.root": "es", |
| 8 | + "sideEffects": false, |
7 | 9 | "scripts": { |
8 | 10 | "lint": "eslint src test --cache", |
9 | 11 | "lint:fix": "eslint --fix src test --cache", |
10 | 12 | "lint:watch": "esw --watch src test --cache", |
11 | 13 | "flow": "flow", |
12 | 14 | "flow:coverage": "for file in src/**.js test/**.js; do echo $file; flow coverage $file; done", |
13 | | - "flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore lib/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/", |
14 | | - "build": "rimraf module && babel src --out-dir module && flow-copy-source -v src/ module && rimraf lib && BABEL_ENV=es5 babel src --out-dir lib && flow-copy-source -v src/ lib", |
15 | | - "test": "NODE_ENV=production BABEL_ENV=es5 mocha $npm_package_config_mocha && NODE_ENV=production BABEL_ENV=test nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha", |
16 | | - "test:watch": "mocha --watch $npm_package_config_mocha", |
| 15 | + "flow:watch": "flow-watch -e js,js.flow,flowconfig --ignore es/ --ignore node_modules/ --watch .flowconfig --watch src/ --watch test/", |
| 16 | + "clean": "rimraf *.js *.js.flow es lib && git checkout HEAD *.js", |
| 17 | + "build": "npm run clean && babel src --out-dir es && flow-copy-source -v src/ es && BABEL_ENV=es5 babel src --out-dir . && flow-copy-source -v src/ .", |
| 18 | + "test": "NODE_ENV=production BABEL_ENV=es5 mocha $npm_package_config_mocha && NODE_ENV=production BABEL_ENV=coverage nyc --reporter=lcov --reporter=text mocha $npm_package_config_mocha", |
| 19 | + "test:watch": "NODE_ENV=production BABEL_ENV=test mocha --watch $npm_package_config_mocha", |
17 | 20 | "codecov": "nyc report --reporter=text-lcov > coverage.lcov; codecov", |
18 | 21 | "commitmsg": "commitlint -e $GIT_PARAMS", |
19 | 22 | "precommit": "npm run lint && flow", |
|
65 | 68 | "babel-eslint": "^7.2.2", |
66 | 69 | "babel-plugin-istanbul": "^4.1.1", |
67 | 70 | "babel-plugin-lodash": "^3.3.4", |
| 71 | + "babel-plugin-syntax-dynamic-import": "^6.18.0", |
| 72 | + "babel-plugin-transform-class-properties": "^6.24.1", |
| 73 | + "babel-plugin-transform-export-extensions": "^6.22.0", |
| 74 | + "babel-plugin-transform-object-rest-spread": "^6.26.0", |
68 | 75 | "babel-plugin-transform-runtime": "^6.23.0", |
69 | 76 | "babel-preset-env": "^1.7.0", |
70 | 77 | "babel-preset-flow": "^6.23.0", |
|
78 | 85 | "eslint": "^4.1.0", |
79 | 86 | "eslint-plugin-flowtype": "^2.30.4", |
80 | 87 | "eslint-watch": "^3.1.0", |
81 | | - "flow-bin": "^0.73.0", |
| 88 | + "flow-bin": "^0.74.0", |
82 | 89 | "flow-copy-source": "^1.2.1", |
83 | 90 | "flow-watch": "^1.1.1", |
84 | 91 | "husky": "^0.14.3", |
|
0 commit comments