UNPKG

react-dynamic-loader

Version:

A react component for loading async component, with webpack chunk.

51 lines (50 loc) 1.58 kB
{ "name": "react-dynamic-loader", "version": "1.0.2", "description": "A react component for loading async component, with webpack chunk.", "main": "lib/index.js", "author": "EvanLiu2968 <296823596@qq.com> (https://www.evanliu2968.com.cn)", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/EvanLiu2968/react-dynamic-loader.git" }, "keywords": [ "react", "react-router-v4", "asyncloader", "syntax-dynamic-import" ], "bugs": { "url": "https://github.com/EvanLiu2968/react-dynamic-loader/issues" }, "scripts": { "build": "babel src -d lib", "lint": "eslint .", "fix": "eslint --fix .", "ii": "npm install --registry https://registry.npm.taobao.org", "reset-registry": "npm config set registry https://registry.npmjs.org", "reset-taobao": "npm config set registry https://registry.npm.taobao.org" }, "dependencies": { "react": "^15.0.0 || ^16.0.0" }, "devDependencies": { "babel-cli": "^6.26.0", "babel-core": "^6.26.0", "babel-loader": "^7.1.2", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-import": "^1.4.0", "babel-plugin-syntax-dynamic-import": "^6.18.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-object-assign": "^6.22.0", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-preset-env": "^1.6.0", "babel-preset-es2015": "^6.24.1", "babel-preset-react": "^6.24.1", "babel-preset-stage-1": "^6.24.1" }, "peerDependencies": { "react": "*" } }