-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.65 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
50
51
52
53
54
{
"name": "9-slicer",
"version": "0.1.1",
"description": "Convert PNG to 9slice",
"main": "dist/cjs/9slicer.js",
"module": "dist/tsc/index.js",
"types": "dist/tsc/index.d.ts",
"files": [
"README.md",
"dist"
],
"keywords": [
"9slice",
"9patch",
"nineslice",
"ninepatch"
],
"scripts": {
"test": "mocha ./test/index.js",
"build": "run-s lint:build build:tsc build:rollup:module build:rollup:browser build:uglify:browser build:uglify:esm test",
"dev": "run-s build:tsc build:rollup:module test",
"build:tsc": "tsc",
"build:rollup:module": "rollup -c",
"build:rollup:browser": "rollup -c --environment BROWSER",
"build:uglify:browser": "uglifyjs dist/browser/9slicer.js -o dist/browser/9slicer.min.js -cm --comments --source-map",
"build:uglify:esm": "uglifyjs dist/esm/9slicer.js -o dist/esm/9slicer.min.js -cm --comments --source-map",
"demo": "browser-sync start --server demo",
"lint:build": "tslint --fix './src/**/*.ts'",
"lint": "tslint './src/**/*.ts'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zprodev/9-slicer.git"
},
"author": "zprodev <[email protected]> (https://github.com/zprodev)",
"license": "MIT",
"bugs": {
"url": "https://github.com/zprodev/9-slicer/issues"
},
"homepage": "https://github.com/zprodev/9-slicer#readme",
"dependencies": {
"png.es": "^0.4.0"
},
"devDependencies": {
"browser-sync": "^2.26.3",
"mocha": "^6.1.4",
"npm-run-all": "^4.1.5",
"rollup": "^1.13.1",
"rollup-plugin-node-resolve": "^5.0.1",
"tslint": "^5.11.0",
"typescript": "^3.2.1",
"uglify-es": "^3.3.9"
}
}