async-react-component
Version:
Async component loaded based webpack 3 for react-router 4
58 lines (57 loc) • 1.7 kB
JSON
{
"name": "async-react-component",
"version": "0.7.0",
"author": "pomysky@gmail.com",
"description": "Async component loaded based webpack 3 for react-router 4",
"license": "MIT",
"main": "dist/index.min.js",
"typings": "types/index.d.ts",
"private": false,
"repository": {
"type": "git",
"url": "https://github.com/dwqs/async-react-compoment.git"
},
"bugs": {
"url": "https://github.com/dwqs/async-react-compoment/issues"
},
"keywords": [
"async-component",
"react-router 4",
"webpack 3"
],
"scripts": {
"clean": "rm -rf dist typings types",
"prepush": "npm run lint",
"prebuild": "npm run prepush && npx tsc -p ./tsconfig.types.json",
"build": "npx rollup -c && npx rollup -c rollup.build.config.js",
"postbuild": "mkdir types && mv typings/index.d.ts types/ && rm -rf typings",
"lint": "npx tslint -p ./tsconfig.json --type-check src/**/*.tsx",
"fix": "npx tslint -p ./tsconfig.json --type-check --fix src/**/*.tsx"
},
"devDependencies": {
"@types/react": "^15.0.38",
"react": "^15.6.1",
"babel-core": "^6.25.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"debug": "^2.6.8",
"husky": "^0.14.2",
"rollup": "^0.45.2",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-typescript": "^0.8.1",
"rollup-plugin-uglify": "^2.0.1",
"tslint": "^5.4.3",
"tslint-react": "^3.0.0",
"typescript": "^2.4.1",
"uglify-es": "^3.0.25"
},
"peerDependencies": {
"react": "> 15.0.0"
},
"engines": {
"node": ">= 6.0.0",
"npm": ">= 5.2.0"
}
}