Add browserify

This commit is contained in:
Yarmo Mackenbach 2020-10-24 14:36:32 +02:00
parent 656ac3541d
commit a32fd41eaa
2 changed files with 3186 additions and 53 deletions

3235
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -4,6 +4,7 @@
"description": "Decentralized OpenPGP Identity Proofs library in node", "description": "Decentralized OpenPGP Identity Proofs library in node",
"main": "src/index.js", "main": "src/index.js",
"dependencies": { "dependencies": {
"browserify": "^17.0.0",
"valid-url": "^1.0.9" "valid-url": "^1.0.9"
}, },
"devDependencies": { "devDependencies": {
@ -14,8 +15,7 @@
"supertest": "^5.0.0" "supertest": "^5.0.0"
}, },
"scripts": { "scripts": {
"start": "node index.js", "bundle": "./node_modules/browserify/bin/cmd.js ./src/index.js --standalone doip -o ./bundle/doip.js",
"dev": "NODE_ENV=development node index.js",
"license:check": "./node_modules/license-check-and-add/dist/src/cli.js check", "license:check": "./node_modules/license-check-and-add/dist/src/cli.js check",
"license:add": "./node_modules/license-check-and-add/dist/src/cli.js add", "license:add": "./node_modules/license-check-and-add/dist/src/cli.js add",
"license:remove": "./node_modules/license-check-and-add/dist/src/cli.js remove", "license:remove": "./node_modules/license-check-and-add/dist/src/cli.js remove",