101 lines
2.8 KiB
JSON
101 lines
2.8 KiB
JSON
|
{
|
||
|
"name": "reselect",
|
||
|
"version": "3.0.1",
|
||
|
"description": "Selectors for Redux.",
|
||
|
"main": "lib/index.js",
|
||
|
"jsnext:main": "es/index.js",
|
||
|
"typings": "lib/index.d.ts",
|
||
|
"files": [
|
||
|
"lib",
|
||
|
"src",
|
||
|
"dist",
|
||
|
"es"
|
||
|
],
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/reactjs/reselect/issues"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"compile:commonjs": "better-npm-run compile:commonjs",
|
||
|
"compile:umd": "better-npm-run compile:umd",
|
||
|
"compile:es": "babel -d es/ src/",
|
||
|
"compile": "npm run compile:commonjs && npm run compile:umd && npm run compile:es",
|
||
|
"lint": "eslint src test",
|
||
|
"prepublish": "npm run compile",
|
||
|
"test": "better-npm-run test",
|
||
|
"test:cov": "better-npm-run test:cov",
|
||
|
"test:typescript": "better-npm-run test:typescript"
|
||
|
},
|
||
|
"betterScripts": {
|
||
|
"test": {
|
||
|
"command": "mocha --compilers js:babel-register --ui tdd --recursive",
|
||
|
"env": {
|
||
|
"NODE_ENV": "test"
|
||
|
}
|
||
|
},
|
||
|
"test:cov": {
|
||
|
"command": "nyc --reporter=lcov --reporter=text mocha --compilers js:babel-register --ui tdd",
|
||
|
"env": {
|
||
|
"NODE_ENV": "test",
|
||
|
"COVERAGE": "true"
|
||
|
}
|
||
|
},
|
||
|
"test:typescript": {
|
||
|
"command": "typings-tester --dir typescript_test"
|
||
|
},
|
||
|
"compile:commonjs": {
|
||
|
"command": "babel -d lib/ src/ && ncp ./src/index.d.ts ./lib/index.d.ts",
|
||
|
"env": {
|
||
|
"NODE_ENV": "commonjs"
|
||
|
}
|
||
|
},
|
||
|
"compile:umd": {
|
||
|
"command": "mkdirp dist/ && babel -o dist/reselect.js src/",
|
||
|
"env": {
|
||
|
"NODE_ENV": "umd"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"keywords": [
|
||
|
"react",
|
||
|
"redux"
|
||
|
],
|
||
|
"authors": [
|
||
|
"Lee Bannard",
|
||
|
"Robert Binna",
|
||
|
"Martijn Faassen",
|
||
|
"Philip Spitzlinger"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/reactjs/reselect.git"
|
||
|
},
|
||
|
"license": "MIT",
|
||
|
"devDependencies": {
|
||
|
"babel-cli": "^6.7.5",
|
||
|
"babel-plugin-check-es2015-constants": "^6.7.2",
|
||
|
"babel-plugin-transform-es2015-arrow-functions": "^6.5.2",
|
||
|
"babel-plugin-transform-es2015-block-scoping": "^6.7.1",
|
||
|
"babel-plugin-transform-es2015-function-name": "^6.5.0",
|
||
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.7.4",
|
||
|
"babel-plugin-transform-es2015-modules-umd": "^6.6.5",
|
||
|
"babel-plugin-transform-es2015-parameters": "^6.7.0",
|
||
|
"babel-plugin-transform-es2015-shorthand-properties": "^6.5.0",
|
||
|
"babel-plugin-transform-es2015-spread": "^6.6.5",
|
||
|
"babel-plugin-transform-es2015-template-literals": "^6.6.5",
|
||
|
"babel-register": "^6.7.2",
|
||
|
"better-npm-run": "0.0.8",
|
||
|
"chai": "^3.0.0",
|
||
|
"codecov.io": "^0.1.6",
|
||
|
"coveralls": "^2.11.4",
|
||
|
"eslint": "^2.11",
|
||
|
"eslint-plugin-react": "^5.1.1",
|
||
|
"lodash.memoize": "^4.1.0",
|
||
|
"mkdirp": "^0.5.1",
|
||
|
"mocha": "^2.2.5",
|
||
|
"ncp": "^2.0.0",
|
||
|
"nyc": "^6.4.0",
|
||
|
"typescript": "^2.1.4",
|
||
|
"typings-tester": "^0.2.0"
|
||
|
}
|
||
|
}
|