-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.96 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
{
"name": "@vecmat/printer",
"author": "Hanrea",
"version": "0.1.2",
"description": "printer 打印机",
"license": "ISC",
"type": "module",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.ts",
"publishConfig": {
"main": "./cjs/index.cjs",
"module": "./esm/index.mjs",
"types": "./types/index.d.ts",
"exports": {
".": {
"require": "./cjs/index.cjs",
"import": "./esm/index.mjs",
"types": "./types/index.d.ts"
}
}
},
"scripts": {
"clean": "rm -rf dist",
"test": "npm build:test && npx mocha test",
"build": "rm -rf dist/ && tsc -p tsconfig.build.json --noEmit && rollup -c",
"compile": "tsc --project tsconfig.json && tsc-alias -p tsconfig.json",
"deploy": "npm run build && npm publish ./dist ",
"watch": "concurrently \"tsc -w --project tsconfig.json\" \"tsc-alias -w --project tsconfig.json\""
},
"dependencies": {
"lodash": "^4.17.21",
"winston": "^3.8.2",
"@types/node": "^20.x.x",
"@types/lodash": "^4.17.0",
"winston-transport": "~4.5.0",
"winston-daily-rotate-file": "~4.7.1"
},
"devDependencies": {
"@types/node": "^20.x.x",
"typescript": "~5.4.2",
"tsc-alias": "~1.8.2",
"prettier": "^3.0.0",
"eslint": "^8.44.0",
"@swc/core": "^1.3.7",
"@swc/jest": "^0.2.24",
"@types/jest": "^29.5.0",
"@silverhand/ts-config": "^5.0.0",
"@silverhand/eslint-config": "^5.0.0",
"rollup": "~4.13.0",
"rollup-plugin-copy": "~3.5.0",
"rollup-plugin-summary": "~2.0.0",
"@rollup/plugin-typescript": "11.1.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"jest": "^29.5.0",
"jest-location-mock": "^2.0.0",
"jest-matcher-specific-error": "^1.0.0"
}
}