mirror of
https://github.com/zhigang1992/redux.git
synced 2026-04-28 20:35:30 +08:00
89 lines
2.8 KiB
JSON
89 lines
2.8 KiB
JSON
{
|
|
"name": "redux",
|
|
"version": "3.0.4",
|
|
"description": "Predictable state container for JavaScript apps",
|
|
"main": "lib/index.js",
|
|
"jsnext:main": "src/index.js",
|
|
"files": [
|
|
"dist",
|
|
"lib",
|
|
"src"
|
|
],
|
|
"scripts": {
|
|
"clean": "rimraf lib dist coverage",
|
|
"lint": "eslint src test examples",
|
|
"test": "mocha --compilers js:babel-register --recursive",
|
|
"test:watch": "npm test -- --watch",
|
|
"test:cov": "babel-node $(npm bin)/isparta cover $(npm bin)/_mocha -- --recursive",
|
|
"test:examples": "babel-node examples/testAll.js",
|
|
"check": "npm run lint && npm run test",
|
|
"build:lib": "babel src --out-dir lib",
|
|
"build:umd": "webpack src/index.js dist/redux.js --config webpack.config.development.js",
|
|
"build:umd:min": "webpack src/index.js dist/redux.min.js --config webpack.config.production.js",
|
|
"build:examples": "babel-node examples/buildAll.js",
|
|
"build": "npm run build:lib && npm run build:umd && npm run build:umd:min",
|
|
"preversion": "npm run clean && npm run check",
|
|
"version": "npm run build",
|
|
"postversion": "git push && git push --tags && npm run clean && npm run docs:publish",
|
|
"prepublish": "npm run clean && npm run build",
|
|
"docs:clean": "rimraf _book",
|
|
"docs:prepare": "gitbook install",
|
|
"docs:build": "npm run docs:prepare && gitbook build -g rackt/redux",
|
|
"docs:watch": "npm run docs:prepare && gitbook serve",
|
|
"docs:publish": "npm run docs:clean && npm run docs:build && cp CNAME _book && cd _book && git init && git commit --allow-empty -m 'update book' && git checkout -b gh-pages && touch .nojekyll && git add . && git commit -am 'update book' && git push git@github.com:rackt/redux gh-pages --force"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/rackt/redux.git"
|
|
},
|
|
"keywords": [
|
|
"redux",
|
|
"reducer",
|
|
"state",
|
|
"predictable",
|
|
"functional",
|
|
"immutable",
|
|
"hot",
|
|
"live",
|
|
"replay",
|
|
"flux",
|
|
"elm"
|
|
],
|
|
"authors": [
|
|
"Dan Abramov <dan.abramov@me.com> (https://github.com/gaearon)",
|
|
"Andrew Clark <acdlite@me.com> (https://github.com/acdlite)"
|
|
],
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/rackt/redux/issues"
|
|
},
|
|
"homepage": "http://rackt.github.io/redux",
|
|
"devDependencies": {
|
|
"babel-cli": "^6.3.15",
|
|
"babel-core": "^6.3.15",
|
|
"babel-eslint": "^4.1.6",
|
|
"babel-loader": "^6.2.0",
|
|
"babel-preset-es2015-loose": "^6.1.3",
|
|
"babel-preset-stage-0": "^6.3.13",
|
|
"babel-register": "^6.3.13",
|
|
"eslint": "^1.7.1",
|
|
"eslint-config-rackt": "1.0.0",
|
|
"eslint-plugin-react": "^3.6.3",
|
|
"expect": "^1.8.0",
|
|
"gitbook-cli": "^0.3.4",
|
|
"isparta": "^4.0.0",
|
|
"mocha": "^2.2.5",
|
|
"rimraf": "^2.3.4",
|
|
"webpack": "^1.9.6"
|
|
},
|
|
"npmName": "redux",
|
|
"npmFileMap": [
|
|
{
|
|
"basePath": "/dist/",
|
|
"files": [
|
|
"*.js"
|
|
]
|
|
}
|
|
]
|
|
}
|