|
1 | 1 | {
|
2 | 2 | "name": "redux-thunk",
|
3 | 3 | "version": "2.2.0",
|
| 4 | + "license": "MIT", |
4 | 5 | "description": "Thunk middleware for Redux.",
|
| 6 | + "repository": "github:reduxjs/redux-thunk", |
| 7 | + "bugs": "https://github.com/reduxjs/redux-thunk/issues", |
| 8 | + "homepage": "https://github.com/reduxjs/redux-thunk", |
| 9 | + "keywords": [ |
| 10 | + "redux", |
| 11 | + "thunk", |
| 12 | + "middleware", |
| 13 | + "redux-middleware", |
| 14 | + "flux" |
| 15 | + ], |
| 16 | + "author": "Dan Abramov <dan.abramov@me.com>", |
5 | 17 | "main": "lib/index.js",
|
6 |
| - "jsnext:main": "es/index.js", |
7 | 18 | "module": "es/index.js",
|
8 | 19 | "typings": "./index.d.ts",
|
9 | 20 | "files": [
|
|
15 | 26 | ],
|
16 | 27 | "scripts": {
|
17 | 28 | "clean": "rimraf lib dist es",
|
18 |
| - "build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min && npm run build:es", |
19 |
| - "prepublish": "npm run clean && npm run test && npm run build", |
20 |
| - "posttest": "npm run lint", |
| 29 | + "prepare": "npm run clean && npm run lint && npm run test && npm run build", |
21 | 30 | "lint": "eslint src test",
|
22 | 31 | "test": "cross-env BABEL_ENV=commonjs mocha --compilers js:babel-core/register --reporter spec test/*.js",
|
| 32 | + "build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min && npm run build:es", |
23 | 33 | "build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib",
|
24 | 34 | "build:es": "cross-env BABEL_ENV=es babel src --out-dir es",
|
25 | 35 | "build:umd": "cross-env BABEL_ENV=commonjs NODE_ENV=development webpack",
|
26 | 36 | "build:umd:min": "cross-env BABEL_ENV=commonjs NODE_ENV=production webpack"
|
27 | 37 | },
|
28 |
| - "repository": { |
29 |
| - "type": "git", |
30 |
| - "url": "https://github.com/gaearon/redux-thunk.git" |
31 |
| - }, |
32 |
| - "homepage": "https://github.com/gaearon/redux-thunk", |
33 |
| - "keywords": [ |
34 |
| - "redux", |
35 |
| - "thunk", |
36 |
| - "middleware", |
37 |
| - "redux-middleware", |
38 |
| - "flux" |
39 |
| - ], |
40 |
| - "author": "Dan Abramov <dan.abramov@me.com>", |
41 |
| - "license": "MIT", |
42 | 38 | "devDependencies": {
|
43 | 39 | "babel-cli": "^6.6.5",
|
44 | 40 | "babel-core": "^6.6.5",
|
|
0 commit comments