-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.71 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
{
"name": "utilitystreams",
"type": "commonjs",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"types": "./cjs/index.d.ts",
"version": "1.0.0",
"description": "Convenient Streams",
"keywords": [
"stream",
"utility"
],
"scripts": {
"format:write": "prettier ./src --write",
"format:check": "prettier ./src --check",
"clean:cjs": "tsc --build ./cjs/tsconfig.json --clean",
"clean:esm": "tsc --build ./esm/tsconfig.json --clean",
"clean": "npm run clean:cjs && npm run clean:esm",
"build:cjs": "node script/backup-package-json.mjs && node script/update-package-json-type.mjs commonjs && tsc --build ./cjs/tsconfig.json && node script/restore-package-json.mjs",
"build:esm": "node script/backup-package-json.mjs && node script/update-package-json-type.mjs module && tsc --build ./esm/tsconfig.json && node script/restore-package-json.mjs",
"build": "npm run clean && npm run format:check && npm run build:cjs && npm run build:esm",
"test": "jest"
},
"author": {
"name": "daengdaenglee",
"email": "[email protected]"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/daengdaengLee/utilitystreams.git"
},
"exports": {
".": {
"require": {
"types": "./cjs/index.d.ts",
"default": "./cjs/index.js"
},
"import": {
"types": "./esm/index.d.ts",
"default": "./esm/index.js"
}
}
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@tsconfig/node20": "^20.1.2",
"@types/jest": "^29.5.9",
"jest": "^29.7.0",
"prettier": "3.1.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.2"
}
}