46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"name": "plantuml-encoder",
|
|
"version": "1.4.0",
|
|
"description": "PlantUML encoder for browsers and Node.js",
|
|
"author": "Markus Hedvall <mackanhedvall@gmail.com>",
|
|
"repository": "https://github.com/markushedvall/plantuml-encoder",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"plantuml",
|
|
"encoder"
|
|
],
|
|
"main": "index.js",
|
|
"browser": {
|
|
"./lib/deflate.js": "./lib/browser-deflate.js",
|
|
"./lib/inflate.js": "./lib/browser-inflate.js",
|
|
"./index.js": "./browser-index.js"
|
|
},
|
|
"devDependencies": {
|
|
"pako": "=1.0.10",
|
|
"browserify": "^16.x",
|
|
"chai": "^4.x",
|
|
"mocha": "^6.x",
|
|
"standard": "^13.x",
|
|
"uglify-js": "^3.x"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"browser-index.js",
|
|
"lib/",
|
|
"dist/"
|
|
],
|
|
"scripts": {
|
|
"test": "standard && mocha",
|
|
"build": "npm run browserify && npm run uglify",
|
|
"browserify": "npm run browserifyEncoder && npm run browserifyDecoder",
|
|
"browserifyEncoder": "browserify lib/encoder.js -s plantumlEncoder -o dist/plantuml-encoder.js",
|
|
"browserifyDecoder": "browserify lib/decoder.js -s plantumlEncoder -o dist/plantuml-decoder.js",
|
|
"uglify": "npm run uglifyEncoder && npm run uglifyDecoder",
|
|
"uglifyEncoder": "uglifyjs dist/plantuml-encoder.js -c -m -o dist/plantuml-encoder.min.js",
|
|
"uglifyDecoder": "uglifyjs dist/plantuml-decoder.js -c -m -o dist/plantuml-decoder.min.js"
|
|
},
|
|
"standard": {
|
|
"ignore": "dist/"
|
|
}
|
|
}
|