generated from EdJoPaTo/typescript-node-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 1.85 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
{
"name": "web-console-progress-bar",
"version": "1.2.3",
"description": "A progress bar for the browser console.",
"keywords": [
"progress",
"bar",
"console",
"browser",
"web",
"cli"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/spookyuser/web-console-progress-bar.git"
},
"author": {
"name": "spookyuser",
"email": "sfcz1wps@duck.com",
"url": "https://github.com/spookyuser"
},
"scripts": {
"build": "del-cli dist && bun run test && bun run test:e2e && bun run lint && bun build source/index.ts --target=browser --outfile=dist/index.js --no-bundle && bun run build:declaration",
"build:declaration": "tsc --emitDeclarationOnly --sourceMap --project tsconfig.json ",
"prepack": "npm run build",
"lint": "xo",
"test": "bun test source",
"test:e2e": "bun test e2e",
"test:watch": "bun test source --watch"
},
"type": "module",
"engines": {
"node": ">=14"
},
"targets": {
"default": {
"engines": {
"browsers": ">= 50%"
}
}
},
"dependencies": {
"ms": "^2.1.3",
"simple-eta": "^3.0.2"
},
"devDependencies": {
"@types/bun": "latest",
"@types/ms": "^0.7.34",
"@types/node": "^20.10.5",
"del-cli": "^5.1.0",
"typescript": "^5.3.3",
"xo": "^0.56.0"
},
"files": [
"dist",
"!*.test.*",
"!test.*"
],
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": false,
"trailingComma": "none",
"bracketSpacing": true,
"bracketSameLine": true
},
"browser": "./dist/index.js",
"types": "./dist/index.d.ts",
"xo": {
"rules": {
"@typescript-eslint/prefer-readonly-parameter-types": "warn"
},
"prettier": true,
"ignores": [
"e2e",
"*.spec.ts"
]
},
"module": "index.ts"
}