2021-01-10 13:11:22 -05:00
|
|
|
{
|
|
|
|
"name": "svgclean",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "SVG Cleaner (SVGO Fork)",
|
|
|
|
"main": "./src/svgo.js",
|
|
|
|
"scripts": {
|
|
|
|
"test": "set NODE_ENV=test && mocha",
|
2021-01-11 03:20:27 -05:00
|
|
|
"lint": "jshint --show-non-errors .",
|
2021-01-13 07:32:53 -05:00
|
|
|
"build": "browserify -s svgc main.js -o bundle.js",
|
2021-01-11 03:20:27 -05:00
|
|
|
"minify": "terser bundle.js -c -m -o bundle.min.js",
|
2021-01-13 07:32:53 -05:00
|
|
|
"copy": "cp ./bundle.min.js ../../backend/resources/svgclean.js && cp ./bundle.min.js ../../exporter/src/app/http/svgclean.js",
|
|
|
|
"dist": "npm run build && npm run minify && npm run copy"
|
2021-01-10 13:11:22 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"chalk": "^4.1.0",
|
|
|
|
"css-select": "^3.1.2",
|
|
|
|
"css-select-base-adapter": "^0.1.1",
|
|
|
|
"css-tree": "^1.1.2",
|
|
|
|
"csso": "^4.2.0",
|
|
|
|
"object.values": "^1.1.2",
|
|
|
|
"sax": "^1.2.4",
|
|
|
|
"stable": "^0.1.8",
|
|
|
|
"unquote": "^1.1.1",
|
|
|
|
"util.promisify": "^1.1.1"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"browserify": "^17.0.0",
|
|
|
|
"coveralls": "^3.1.0",
|
|
|
|
"fs-extra": "^9.0.1",
|
|
|
|
"istanbul": "^0.4.5",
|
|
|
|
"jshint": "^2.12.0",
|
|
|
|
"mocha": "^8.2.1",
|
|
|
|
"mocha-istanbul": "^0.3.0",
|
|
|
|
"mock-stdin": "^1.0.0",
|
2021-01-11 03:20:27 -05:00
|
|
|
"should": "~13.2.3",
|
2021-01-11 05:08:40 -05:00
|
|
|
"svgo": "^1.3.2",
|
2021-01-11 03:20:27 -05:00
|
|
|
"terser": "^5.5.1"
|
2021-01-10 13:11:22 -05:00
|
|
|
},
|
|
|
|
"license": "MIT"
|
|
|
|
}
|