-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
55 lines (55 loc) · 1.67 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
{
"name": "@lidqqq/pipe",
"version": "1.0.5",
"description": "A type safety function to create a pipeline",
"scripts": {
"test": "jest",
"clean": "rm -rf dist/ coverage/",
"build": "run-s build:ts build:esbuild:*",
"build:ts": "tsc --build tsconfig.json",
"build:esbuild:cjs": "esbuild --bundle src/index.ts --outfile=dist/target/cjs.js --platform=node",
"build:esbuild:esm": "esbuild --bundle src/index.ts --outfile=dist/target/esm.mjs --platform=node --format=esm",
"build:esbuild:browser": "esbuild --bundle src/index.ts --outfile=dist/target/browser.js --platform=browser",
"postbuild": "sed -i '' -e 's/@/./g' dist/src/index.d.ts dist/src/index.js",
"prepublish:npm": "npm run clean && npm test && npm run build",
"publish:npm": "npm publish --access=public ./",
"coverage": "jest --coverage"
},
"devDependencies": {
"esbuild": "0.8.34",
"jest": "26.6.3",
"npm-run-all": "4.1.5",
"ts-jest": "26.4.4",
"tslib": "2.1.0",
"typescript": "4.1.3"
},
"main": "./dist/target/cjs.js",
"module": "./dist/target/esm.mjs",
"browser": "./dist/target/browser.js",
"exports": {
".": {
"require": "./dist/target/cjs.js",
"default": "./dist/target/esm.mjs"
}
},
"types": "dist/src/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE"
],
"keywords": [
"pipe",
"typescript"
],
"author": "lidqqq <[email protected]> (https://lidqqq.dev/)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/lidqqq/pipe.git"
},
"bugs": {
"url": "https://github.com/lidqqq/pipe/issues"
},
"homepage": "https://github.com/lidqqq/pipe#readme"
}