|
43 | 43 | "babel-cli": "^6.2.0",
|
44 | 44 | "babel-eslint": "^5.0.0-beta4",
|
45 | 45 | "babel-plugin-react-intl": "^2.0.0",
|
| 46 | + "babel-plugin-transform-es2015-modules-commonjs": "^6.4.0", |
46 | 47 | "babel-plugin-transform-es3-member-expression-literals": "^6.3.13",
|
47 | 48 | "babel-plugin-transform-es3-property-literals": "^6.3.13",
|
48 | 49 | "babel-plugin-transform-object-rest-spread": "^6.1.18",
|
49 | 50 | "babel-polyfill": "^6.3.14",
|
50 | 51 | "babel-preset-es2015": "^6.1.18",
|
51 |
| - "babel-preset-es2015-rollup": "^1.0.0", |
| 52 | + "babel-preset-es2015-rollup": "^1.1.1", |
52 | 53 | "babel-preset-react": "^6.1.18",
|
53 | 54 | "babel-register": "^6.2.0",
|
54 | 55 | "babelify": "^7.2.0",
|
|
71 | 72 | "react-addons-test-utils": "^0.14.3",
|
72 | 73 | "react-dom": "^0.14.2",
|
73 | 74 | "rimraf": "^2.4.2",
|
74 |
| - "rollup": "^0.24.1", |
75 |
| - "rollup-plugin-babel": "^2.3.3", |
76 |
| - "rollup-plugin-commonjs": "^2.1.0", |
| 75 | + "rollup": "^0.25.0", |
| 76 | + "rollup-plugin-babel": "^2.3.9", |
| 77 | + "rollup-plugin-commonjs": "^2.2.0", |
77 | 78 | "rollup-plugin-memory": "^1.0.0",
|
78 |
| - "rollup-plugin-npm": "^1.1.0", |
| 79 | + "rollup-plugin-npm": "^1.3.0", |
79 | 80 | "rollup-plugin-replace": "^1.1.0",
|
80 | 81 | "rollup-plugin-uglify": "^0.1.0",
|
81 | 82 | "serialize-javascript": "^1.1.1",
|
82 | 83 | "superagent": "^1.5.0"
|
83 | 84 | },
|
84 | 85 | "scripts": {
|
85 |
| - "lint": "eslint src/ test/ scripts/ examples/", |
86 | 86 | "clean": "rimraf src/en.js coverage/ dist/ lib/ locale-data/",
|
87 | 87 | "build:data": "babel-node scripts/build-data",
|
88 | 88 | "build:lib": "babel-node scripts/build-lib",
|
89 | 89 | "build:dist:dev": "NODE_ENV=development babel-node scripts/build-dist",
|
90 | 90 | "build:dist:prod": "NODE_ENV=production babel-node scripts/build-dist",
|
91 | 91 | "build:dist": "npm run build:dist:dev && npm run build:dist:prod",
|
92 | 92 | "build": "npm run build:data && npm run build:lib && npm run build:dist",
|
93 |
| - "test:unit": "mocha --compilers js:babel-register --require babel-polyfill --require intl --recursive test/unit/", |
94 |
| - "test:unit:cov": "babel-node $(npm bin)/isparta cover --report text --report html node_modules/mocha/bin/_mocha -- --require babel-polyfill --require intl --recursive test/unit/", |
95 |
| - "test:unit:watch": "npm run test:unit -- --watch --reporter min", |
96 |
| - "test": "npm run test:unit", |
97 |
| - "test:cov": "npm run test:unit:cov", |
98 |
| - "prepublish": "npm run lint && npm run clean && npm run build && npm test" |
| 93 | + "lint": "eslint .", |
| 94 | + "test": "mocha --compilers js:babel-register --require babel-polyfill --require intl --recursive test/", |
| 95 | + "test:cov": "babel-node $(npm bin)/isparta cover --report text --report html node_modules/mocha/bin/_mocha -- --require babel-polyfill --require intl --recursive test/", |
| 96 | + "test:watch": "npm run test -- --watch --reporter min", |
| 97 | + "pretest": "npm run lint", |
| 98 | + "pretest:cov": "npm run lint", |
| 99 | + "preversion": "npm run clean && npm run build && npm run test", |
| 100 | + "prepublish": "npm run clean && npm run build" |
99 | 101 | }
|
100 | 102 | }
|
0 commit comments