-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
62 lines (62 loc) · 1.7 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
{
"name": "@nozzlegear/railway",
"version": "3.2.0",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"description": "Functional helpers, heavily inspired by F#, to help facilitate \"railway oriented\" programming.",
"repository": "https://github.com/nozzlegear/railway",
"author": "Joshua Harms <[email protected]>",
"license": "MIT",
"private": false,
"devDependencies": {
"@types/jest": "^29.5.7",
"barrelsby": "^2.8.1",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"tsup": "^7.2.0",
"typescript": "5.2.2"
},
"scripts": {
"barrel": "barrelsby -e \".*\\.spec\\.(t|j)sx?$\" -d ./src --delete",
"build": "yarn barrel && tsup src/index.ts --format cjs,esm --dts --clean",
"test": "yarn jest",
"prepublishOnly": "yarn build && yarn test"
},
"files": [
"dist",
"README.md"
],
"jest": {
"testEnvironment": "node",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "src/.*\\.spec\\.(t|j)sx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/\\./"
],
"watchPathIgnorePatterns": [
"<rootDir>/node_modules/"
]
}
}