provide-page
Version:
Provides automatic server-side rendering and actions (regardless of whether or not client has JavaScript enabled) to React components. Use in conjunction with `provide-router`.
77 lines (76 loc) • 2.47 kB
JSON
{
"name": "provide-page",
"version": "3.0.1",
"description": "Provides automatic server-side rendering and actions (regardless of whether or not client has JavaScript enabled) to React components. Use in conjunction with `provide-router`.",
"main": "./lib/index.js",
"scripts": {
"build:lib": "babel src --out-dir lib",
"build:umd": "webpack src/index.js dist/provide-page.js --config webpack.config.development.js",
"build:umd:min": "webpack src/index.js dist/provide-page.min.js --config webpack.config.production.js",
"build": "npm run build:lib && npm run build:umd && npm run build:umd:min",
"clean": "rimraf lib dist coverage",
"prepublish": "npm run clean && npm run build",
"test": "better-npm-run test",
"test:watch": "npm test -- --watch",
"test:cov": "babel-node ./node_modules/isparta/bin/isparta cover ./node_modules/mocha/bin/_mocha -- --recursive"
},
"betterScripts": {
"test": {
"command": "npm run prepublish && mocha --compilers js:babel-register --recursive --require babel-polyfill --require react-redux-provide-test-utils/lib/setup.js",
"env": {
"NODE_ENV": "test"
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/loggur/provide-page.git"
},
"keywords": [
"react",
"redux",
"provide",
"page",
"history",
"router",
"routes"
],
"author": "loggur",
"license": "MIT",
"bugs": {
"url": "https://github.com/loggur/provide-page/issues"
},
"homepage": "https://github.com/loggur/provide-page",
"devDependencies": {
"babel-cli": "^6.6.0",
"babel-core": "^6.7.0",
"babel-loader": "^6.2.0",
"babel-plugin-react-transform": "^2.0.0",
"babel-polyfill": "^6.7.4",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.7.0",
"better-npm-run": "^0.0.8",
"expect": "^1.8.0",
"isparta": "^3.0.3",
"istanbul": "^0.3.17",
"jsdom": "~5.4.3",
"mocha": "^2.2.5",
"prop-types": "^15.6.0",
"react-dom": "^16.0.0",
"react-redux-provide-test-utils": "^1.0.15",
"rimraf": "^2.3.4",
"webpack": "^1.11.0"
},
"dependencies": {
"exenv": "^1.2.0",
"history": "^4.7.2",
"provide-router": "^2.0.0",
"react": "^16.0.0",
"react-redux-provide": "^7.0.0",
"react-router": "^4.2.0",
"react-router-dom": "^4.2.0",
"redux-thunk": "^2.1.0"
}
}