example-javascript-react-package
Version:
example to webpack in library mode
37 lines (36 loc) • 990 B
JSON
{
"name": "example-javascript-react-package",
"version": "2.1.0",
"description": "example to webpack in library mode",
"main": "dist/index.js",
"scripts": {
"build": "webpack --progress --display-error-details",
"prepublish": "rm -rf ./dist && npm run build",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"webpack",
"github-packages",
"github-actions"
],
"author": "ptaylour",
"license": "ISC",
"peerDependencies": {
"react": "^16.12.0"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-proposal-object-rest-spread": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^3.4.1",
"extract-text-webpack-plugin": "^3.0.2",
"node-sass": "^4.13.0",
"sass-loader": "^8.0.0",
"style-loader": "^1.1.2",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
}
}