-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.29 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.29 KB
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
{
"name": "your-lib-name",
"version": "0.0.0",
"type": "module",
"sideEffects": false,
"description": "",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"build": "rimraf dist && tsup src/index.ts --format esm,cjs --sourcemap --minify --treeshake --clean --platform neutral --target es2020",
"types": "tsc -p tsconfig.types.json",
"typecheck": "tsc -p tsconfig.base.json --noEmit",
"prepare": "npm run build && npm run types",
"test": "mocha -r ts-node/register \"test/**/*.test.ts\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/your-company/your-lib-name.git"
},
"keywords": [
""
],
"author": "Coderitter GmbH",
"bugs": {
"url": "https://github.com/your-company/your-lib-name/issues"
},
"homepage": "https://github.com/your-company/your-lib-name#readme",
"devDependencies": {
"@types/chai": "^5.2.2",
"@types/mocha": "^10.0.10",
"chai": "^5.3.1",
"mocha": "^11.7.1",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsup": "^8.5.0",
"typescript": "^5.9.2"
}
}