generated from victorsoares96/lib-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
94 lines (94 loc) · 3.29 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "compress-pdf",
"version": "0.5.1",
"templateVersion": "1.3.0",
"description": "An compress pdf library using ghostscript",
"main": "dist/index.js",
"bin": {
"compress-pdf": "bin/compress-pdf"
},
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "husky install",
"postinstall": "node instructions",
"copy-json-files-to-dist": "copyfiles src/**/*.json instructions.js dist",
"style:format": "prettier \"*.{js,json,yml,yaml,md}\" \"src/**/*\" --write",
"lint": "eslint --color --ext .ts \"src/**/*.+(ts)\"",
"lint:fix": "eslint --color --ext .ts \"src/**/*.+(ts)\" --fix",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"type-check": "tsc --pretty --noEmit --skipLibCheck --esModuleInterop --resolveJsonModule",
"package": "npm run build && npm pkg set scripts.postinstall='node dist/instructions' && npm pack && npm pkg set scripts.postinstall='node instructions'",
"build": "tsup",
"ci-postbuild": "npm pkg set scripts.postinstall='node dist/instructions'",
"release": "npm run build && npm pkg set scripts.postinstall='node dist/instructions' && npm publish && npm pkg set scripts.postinstall='node instructions'",
"release-beta": "npm run build && npm pkg set scripts.postinstall='node dist/instructions' && npm publish --tag beta && npm pkg set scripts.postinstall='node instructions'",
"release-local": "npm run build && npm pkg set scripts.postinstall='node dist/instructions' && npm link && npm pkg set scripts.postinstall='node instructions' && echo [FINISH]: Run \"npm link compress-pdf\" to link the package to your project"
},
"publishConfig": {
"access": "public"
},
"files": [
"dist",
"bin"
],
"keywords": [
"library",
"compress-pdf",
"compress",
"pdf",
"optimize",
"reduce"
],
"repository": "https://github.com/victorsoares96/compress-pdf",
"author": "Victor Soares <vitorsoares96@hotmail.com> (https://github.com/victorsoares96)",
"license": "MIT",
"bugs": {
"url": "https://github.com/victorsoares96/compress-pdf/issues"
},
"homepage": "https://github.com/victorsoares96/compress-pdf#readme",
"dependencies": {
"dotenv": "16.4.1",
"lodash": "4.17.21"
},
"devDependencies": {
"@types/node": "20.11.6",
"@types/pdf-parse": "1.1.4",
"@typescript-eslint/eslint-plugin": "6.19.1",
"@typescript-eslint/parser": "6.19.1",
"@vitest/coverage-istanbul": "1.2.1",
"commitizen": "4.3.0",
"commitizen-emoji": "1.0.5",
"copyfiles": "2.4.1",
"eslint": "8.56.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-vitest": "0.3.20",
"husky": "9.0.5",
"lint-staged": "15.2.0",
"pdf-parse": "1.1.1",
"prettier": "3.2.4",
"tsup": "8.0.1",
"tsx": "4.7.0",
"typescript": "5.3.3",
"vite-tsconfig-paths": "4.3.1",
"vitest": "1.2.1"
},
"engines": {
"yarn": ">= 1.22.0",
"node": ">=18.0.0"
},
"config": {
"commitizen": {
"path": "./node_modules/commitizen-emoji"
},
"commitizenEmoji": {
"conventionalFormat": true
}
}
}