|
@@ -2,10 +2,18 @@
|
|
"name": "@mightyplow/hyperapp-components",
|
|
"name": "@mightyplow/hyperapp-components",
|
|
"version": "1.0.0",
|
|
"version": "1.0.0",
|
|
"description": "A set of reusable hyperapp components",
|
|
"description": "A set of reusable hyperapp components",
|
|
- "main": "index.js",
|
|
|
|
|
|
+ "main": "dist/index.js",
|
|
"scripts": {
|
|
"scripts": {
|
|
|
|
+ "prebuild-base": "rm -rf dist/*",
|
|
|
|
+ "build:base": "webpack",
|
|
|
|
+ "build": "npm run build:base -- --mode production",
|
|
|
|
+ "build:dev": "npm run build:base -- --mode development",
|
|
|
|
+ "dev": "npm run build:dev -- --watch",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
},
|
|
|
|
+ "files": [
|
|
|
|
+ "dist"
|
|
|
|
+ ],
|
|
"repository": {
|
|
"repository": {
|
|
"type": "git",
|
|
"type": "git",
|
|
"url": "https://git.mightyplow.net/mightyplow/hyperapp-components"
|
|
"url": "https://git.mightyplow.net/mightyplow/hyperapp-components"
|
|
@@ -18,6 +26,14 @@
|
|
"author": "mightyplow@gmail.com",
|
|
"author": "mightyplow@gmail.com",
|
|
"license": "ISC",
|
|
"license": "ISC",
|
|
"sideEffects": false,
|
|
"sideEffects": false,
|
|
- "devDependencies": {},
|
|
|
|
|
|
+ "devDependencies": {
|
|
|
|
+ "@babel/core": "^7.0.0",
|
|
|
|
+ "@babel/plugin-transform-react-jsx": "^7.0.0",
|
|
|
|
+ "@babel/preset-env": "^7.0.0",
|
|
|
|
+ "babel-loader": "^8.0.2",
|
|
|
|
+ "copy-webpack-plugin": "^4.5.2",
|
|
|
|
+ "webpack": "^4.17.2",
|
|
|
|
+ "webpack-cli": "^3.1.0"
|
|
|
|
+ },
|
|
"dependencies": {}
|
|
"dependencies": {}
|
|
}
|
|
}
|