|
1 | 1 | { |
2 | 2 | "name": "react-localize-redux", |
3 | | - "version": "3.0.0", |
| 3 | + "version": "3.0.1", |
4 | 4 | "description": "Localization library for handling translations in React", |
5 | 5 | "main": "./lib/index.js", |
6 | 6 | "module": "./es/index.js", |
7 | 7 | "jsnext:main": "./es/index.js", |
8 | 8 | "typings": "lib/index.d.ts", |
9 | 9 | "scripts": { |
10 | | - "build": |
11 | | - "npm run build:commonjs && npm run build:es && npm run copy:flow && npm run build:umd && npm run build:umd:min && npm run copy:ts", |
12 | | - "build:commonjs": |
13 | | - "rimraf lib && cross-env BABEL_ENV=commonjs babel ./src -d lib", |
| 10 | + "build": "npm run build:commonjs && npm run build:es && npm run copy:flow && npm run build:umd && npm run build:umd:min && npm run copy:ts", |
| 11 | + "build:commonjs": "rimraf lib && cross-env BABEL_ENV=commonjs babel ./src -d lib", |
14 | 12 | "build:es": "rimraf es && cross-env BABEL_ENV=es babel ./src -d es", |
15 | | - "build:umd": |
16 | | - "rimraf dist && webpack --env.dev --output-filename dist/ReactLocalizeRedux.js", |
17 | | - "build:umd:min": |
18 | | - "webpack --env.prod --output-filename dist/ReactLocalizeRedux.min.js", |
19 | | - "copy:flow": |
20 | | - "ncp ./src/index.js.flow ./lib/index.js.flow && ncp ./src/index.js.flow ./es/index.js.flow", |
21 | | - "copy:ts": |
22 | | - "ncp ./src/index.d.ts ./lib/index.d.ts && ncp ./src/index.d.ts ./es/index.d.ts", |
| 13 | + "build:umd": "rimraf dist && webpack --env.dev --output-filename dist/ReactLocalizeRedux.js", |
| 14 | + "build:umd:min": "webpack --env.prod --output-filename dist/ReactLocalizeRedux.min.js", |
| 15 | + "copy:flow": "ncp ./src/index.js.flow ./lib/index.js.flow && ncp ./src/index.js.flow ./es/index.js.flow", |
| 16 | + "copy:ts": "ncp ./src/index.d.ts ./lib/index.d.ts && ncp ./src/index.d.ts ./es/index.d.ts", |
23 | 17 | "coverage": "jest && codecov", |
24 | 18 | "prepublish": "npm run build", |
25 | 19 | "test": "cross-env BABEL_ENV=test jest", |
|
43 | 37 | "localization", |
44 | 38 | "globalization" |
45 | 39 | ], |
46 | | - "tags": ["react", "redux", "i18n", "localization"], |
| 40 | + "tags": [ |
| 41 | + "react", |
| 42 | + "redux", |
| 43 | + "i18n", |
| 44 | + "localization" |
| 45 | + ], |
47 | 46 | "author": "Ryan Johnson", |
48 | 47 | "license": "MIT", |
49 | 48 | "bugs": { |
|
91 | 90 | }, |
92 | 91 | "jest": { |
93 | 92 | "verbose": true, |
94 | | - "roots": ["tests/"], |
95 | | - "modulePaths": ["src/", "node_modules"], |
96 | | - "setupFiles": ["raf/polyfill"], |
| 93 | + "roots": [ |
| 94 | + "tests/" |
| 95 | + ], |
| 96 | + "modulePaths": [ |
| 97 | + "src/", |
| 98 | + "node_modules" |
| 99 | + ], |
| 100 | + "setupFiles": [ |
| 101 | + "raf/polyfill" |
| 102 | + ], |
97 | 103 | "coverageDirectory": "./coverage/", |
98 | 104 | "collectCoverage": true |
99 | 105 | }, |
|
0 commit comments