-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.56 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
46
47
48
49
{
"name": "png.es",
"version": "0.3.0",
"description": "ECMAScript compliant lightweight PNG editor",
"main": "dist/cjs/png.js",
"module": "dist/tsc/png.js",
"types": "dist/tsc/png.d.ts",
"dependencies": {
"zlib.es": "0.6.0"
},
"devDependencies": {
"mocha": "^6.1.4",
"rollup": "^1.13.1",
"rollup-plugin-node-resolve": "^5.0.1",
"tslint": "^5.11.0",
"typescript": "^3.1.3",
"uglify-es": "^3.3.9"
},
"scripts": {
"test": "mocha ./test/index.js",
"build": "npm run lint && npm run build:tsc && npm run build:rollup:module && npm run build:rollup:browser && npm run build:uglify:browser && npm run build:uglify:esm && npm run test",
"dev": "npm run build:tsc && npm run build:rollup:module && npm run test",
"build:tsc": "tsc",
"build:rollup:module": "rollup -c",
"build:rollup:browser": "rollup -c --environment BROWSER",
"build:uglify:browser": "uglifyjs dist/browser/png.js -o dist/browser/png.min.js -cm --comments --source-map",
"build:uglify:esm": "uglifyjs dist/esm/png.js -o dist/esm/png.min.js -cm --comments --source-map",
"lint": "tslint --fix './src/**/*.ts'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zprodev/png.es.git"
},
"author": "zprodev <[email protected]> (https://github.com/zprodev)",
"license": "MIT",
"bugs": {
"url": "https://github.com/zprodev/png.es/issues"
},
"files": [
"README.md",
"dist"
],
"keywords": [
"png",
"binary",
"editor"
],
"homepage": "https://github.com/zprodev/png.es#readme"
}