|
1 | 1 | {
|
2 | 2 | "name": "react-localize-redux",
|
3 |
| - "version": "4.0.0-beta.0", |
| 3 | + "version": "3.1.0-beta.0", |
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 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 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:ts": |
20 |
| - "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:ts": "ncp ./src/index.d.ts ./lib/index.d.ts && ncp ./src/index.d.ts ./es/index.d.ts", |
21 | 16 | "coverage": "jest && codecov",
|
22 | 17 | "prepublish": "npm run build",
|
23 | 18 | "test": "cross-env BABEL_ENV=test jest",
|
|
41 | 36 | "localization",
|
42 | 37 | "globalization"
|
43 | 38 | ],
|
44 |
| - "tags": ["react", "redux", "i18n", "localization"], |
| 39 | + "tags": [ |
| 40 | + "react", |
| 41 | + "redux", |
| 42 | + "i18n", |
| 43 | + "localization" |
| 44 | + ], |
45 | 45 | "author": "Ryan Johnson",
|
46 | 46 | "license": "MIT",
|
47 | 47 | "bugs": {
|
|
91 | 91 | },
|
92 | 92 | "jest": {
|
93 | 93 | "verbose": true,
|
94 |
| - "roots": ["tests/"], |
95 |
| - "modulePaths": ["src/", "node_modules"], |
96 |
| - "setupFiles": ["<rootDir>/jest.setup.js", "raf/polyfill"], |
| 94 | + "roots": [ |
| 95 | + "tests/" |
| 96 | + ], |
| 97 | + "modulePaths": [ |
| 98 | + "src/", |
| 99 | + "node_modules" |
| 100 | + ], |
| 101 | + "setupFiles": [ |
| 102 | + "<rootDir>/jest.setup.js", |
| 103 | + "raf/polyfill" |
| 104 | + ], |
97 | 105 | "coverageDirectory": "./coverage/",
|
98 | 106 | "collectCoverage": false
|
99 | 107 | },
|
|
0 commit comments