-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.38 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 2.38 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
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
{
"name": "node-library",
"private": true,
"version": "0.0.0",
"description": "Your awesome node library",
"keywords": [],
"homepage": "https://github.com/unional/monorepo-template",
"bugs": {
"url": "https://github.com/unional/monorepo-template/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/unional/monorepo-template.git",
"directory": "packages/node-library"
},
"license": "MIT",
"author": {
"name": "Homa Wong (unional)",
"email": "homawong@gmail.com",
"url": "https://github.com/unional"
},
"sideEffects": false,
"type": "module",
"exports": {
".": {
"import": {
"types": "./esm/index.d.ts",
"default": "./esm/index.js"
},
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
}
}
},
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./cjs/index.d.ts",
"files": [
"cjs",
"esm",
"ts",
"!**/*.{spec,unit,test,accept,integrate,system,pref,stress}.*"
],
"scripts": {
"build": "run-p build:cjs build:esm build:tslib",
"build:cjs": "buddy ts build cjs",
"build:esm": "tsc",
"build:tslib": "buddy ts build tslib",
"build:watch": "tsc -w",
"clean": "rimraf cjs esm coverage lib --glob *.tsbuildinfo",
"coverage": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --coverage",
"depcheck": "depcheck",
"lint": "cross-env TIMING=1 eslint --ext=js,cjs,mjs,ts,tsx,ctx,mtx,yaml,yml .",
"nuke": "rimraf node_modules",
"size": "size-limit",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
"test:watch": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --watch",
"w": "pnpm test:watch",
"verify": "npm-run-all -p build lint coverage depcheck -p size"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
"@repobuddy/jest": "^3.3.0",
"@repobuddy/typescript": "^1.1.1",
"@size-limit/preset-small-lib": "~8.2.4",
"cross-env": "^7.0.3",
"depcheck": "~1.4.3",
"jest": "^29.5.0",
"jest-watch-suspend": "^1.1.2",
"jest-watch-toggle-config-2": "^2.1.0",
"jest-watch-typeahead": "^2.2.2",
"npm-run-all": "^4.1.5",
"repobuddy": "^1.0.1",
"rimraf": "~5.0.0",
"size-limit": "~8.2.4",
"ts-jest": "^29.1.0",
"tslib": "^2.5.0",
"typescript": "^5.0.4"
}
}