2018-03-04 15:43:18 -05:00
|
|
|
{
|
|
|
|
"name": "{{name}}",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "{{description}}",
|
|
|
|
"author": "{{author}}",
|
|
|
|
"license": "{{license}}",
|
|
|
|
"repository": "{{repo}}",
|
|
|
|
"main": "dist/index.js",
|
|
|
|
"module": "dist/index.es.js",
|
|
|
|
"jsnext:main": "dist/index.es.js",
|
|
|
|
"scripts": {
|
2018-03-09 17:45:42 -05:00
|
|
|
"test": "CI=1 react-scripts test --env=jsdom",
|
2018-03-15 23:54:41 -04:00
|
|
|
"test:watch": "react-scripts test --env=jsdom",
|
2018-03-04 15:43:18 -05:00
|
|
|
"build": "rollup -c",
|
|
|
|
"start": "rollup -c -w",
|
|
|
|
"prepare": "{{manager}} run build",
|
|
|
|
"predeploy": "cd example && {{manager}} install && {{manager}} run build",
|
|
|
|
"deploy": "gh-pages -d example/build"
|
|
|
|
},
|
|
|
|
"dependencies": {},
|
|
|
|
"peerDependencies": {
|
|
|
|
"prop-types": "^15.5.4",
|
|
|
|
"react": "^15.0.0 || ^16.0.0",
|
|
|
|
"react-dom": "^15.0.0 || ^16.0.0"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"babel-core": "^6.26.0",
|
|
|
|
"babel-eslint": "^8.2.1",
|
|
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
|
|
|
"babel-preset-env": "^1.6.0",
|
|
|
|
"babel-preset-react": "^6.24.1",
|
|
|
|
"babel-preset-stage-0": "^6.24.1",
|
|
|
|
"gh-pages": "^1.1.0",
|
2018-03-09 17:45:42 -05:00
|
|
|
"react": "^16.2.0",
|
|
|
|
"react-dom": "^16.2.0",
|
|
|
|
"react-scripts": "^1.1.1",
|
2018-03-04 15:43:18 -05:00
|
|
|
"rollup": "^0.54.0",
|
|
|
|
"rollup-plugin-babel": "^3.0.3",
|
|
|
|
"rollup-plugin-commonjs": "^8.2.1",
|
|
|
|
"rollup-plugin-node-resolve": "^3.0.2",
|
|
|
|
"rollup-plugin-peer-deps-external": "^2.0.0",
|
2018-03-09 17:45:42 -05:00
|
|
|
"rollup-plugin-postcss": "^1.1.0",
|
|
|
|
"rollup-plugin-url": "^1.3.0"
|
2018-03-04 15:43:18 -05:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
]
|
|
|
|
}
|