-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
72 lines (72 loc) Β· 2.11 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"name": "@josee9988/minifyall",
"version": "1.2.2",
"description": "A CLI tool to minify JSON/C, HTML and CSS.",
"main": "dist/index.js",
"bin": {
"@josee9988/minifyall": "bin/minifyall.js",
"minifyall": "bin/minifyall.js"
},
"types": "dist/index.d.ts",
"pre-commit": [
"versionUpdater"
],
"scripts": {
"prepare": "npm run versionUpdater && npm run build",
"rmDist": "rm -R dist/ || exit 0",
"prepublish": "npm run rmDist && npm run prepare",
"prepublishOnly": "npm run lint",
"preversion": "npm run lint",
"build": "tsc && tsc -d --declarationDir dist/ --emitDeclarationOnly",
"watch": "tsc -watch",
"lint": "tslint -p tsconfig.json",
"start": "node dist/index.js",
"removeExtraExampleTestFile": "rm tests/.exampleTestFiles/testFile.min.css || exit 0",
"pretest": "npm run removeExtraExampleTestFile",
"test": "jest --ci",
"posttest": "npm run removeExtraExampleTestFile",
"removeExtraExampleTestFiles": "cd tests/.exampleTestFiles && rm -v !('jsonCFile.jsonc'|'jsonFile.json'|'styles.css'|'myWebpage.html') && cd ../..",
"uglifyjs": "uglifyjs-folder dist -e -o dist -x .js",
"testPack": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz",
"versionUpdater": "echo 'running versionUpdater...' && bash bin/versionUpdater.sh"
},
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/Josee9988/MinifyAllCli.git"
},
"keywords": [
"css",
"json",
"jsonc",
"html",
"css3",
"html5",
"minify",
"minifier"
],
"jest": {
"preset": "ts-jest"
},
"author": "@Josee9988",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/Josee9988/MinifyAllCli/issues"
},
"homepage": "https://github.com/Josee9988/MinifyAllCli#readme",
"devDependencies": {
"@types/jest": "^25.2.2",
"@types/node": "^14.0.1",
"jest": "^25.0.1",
"pre-commit": "^1.2.2",
"ts-jest": "^25.5.1",
"tslint": "^6.1.2",
"typescript": "^3.9.2",
"uglifyjs-folder": "^2.0.0"
},
"dependencies": {
"arg": "^4.1.3",
"chalk": "^4.0.0",
"esm": "^3.2.25"
}
}