-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
45 lines (45 loc) · 1.4 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
{
"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/"
}
}