diff --git a/docs/package.json b/docs/package.json new file mode 100644 index 0000000..5ceba35 --- /dev/null +++ b/docs/package.json @@ -0,0 +1,47 @@ +{ + "name": "dapp-form", + "version": "10.0.4", + "description": "static content", + "scripts": { + "start": "webpack-dev-server --open --config webpack.dev.js", + "build": "rm -rf docs/ && webpack --config webpack.prod.js", + "push": "yarn build && git add docs; git commit -m 'new build'; git push; open https://dappform.takectrl.io", + "preversion": "npm run build" + }, + "author": "npm2016@ragelse.dk", + "license": "ISC", + "dependencies": { + "blockstack": "^17.0.2", + "dappform-forms-api": "^1.2.0", + "elliptic": "^6.4.0", + "foundation-sites": "^6.5.0-rc.2", + "lit-html": "^0.10.2", + "uuid": "^3.3.2" + }, + "devDependencies": { + "@types/node": "^10.5.2", + "@types/uuid": "^3.4.3", + "copy-webpack-plugin": "^4.5.2", + "css-loader": "^1.0.0", + "file-loader": "^1.1.11", + "html-webpack-plugin": "^3.2.0", + "source-map": "^0.7.3", + "style-loader": "^0.21.0", + "ts-loader": "^4.4.2", + "typescript": "^2.9.2", + "url-loader": "^1.0.1", + "webpack": "^4.16.1", + "webpack-cli": "^3.0.8", + "webpack-dev-server": "^3.1.4", + "webpack-merge": "^4.1.3", + "worker-loader": "^2.0.0" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/FoundersAS/DappForm.git" + }, + "bugs": { + "url": "https://github.com/FoundersAS/DappForm/issues" + }, + "homepage": "https://github.com/FoundersAS/DappForm#readme" +} diff --git a/webpack.common.js b/webpack.common.js index 812b307..4fc716b 100644 --- a/webpack.common.js +++ b/webpack.common.js @@ -8,6 +8,7 @@ const ExternalDepsPlugin = new CopyWebpackPlugin([ { from: 'node_modules/foundation-sites/dist/css/foundation.min.css', to: 'assets/foundation.min.css' }, { from: 'node_modules/foundation-sites/dist/css/foundation.min.css.map', to: 'assets/foundation.min.css.map' }, { from: 'src/css/style.css', to: 'assets/style.css' }, + { from: 'package.json', to: 'package.json' }, ]); const HtmlWebpackPlugin = require('html-webpack-plugin');