This repository was archived by the owner on Sep 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
51 lines (51 loc) · 1.36 KB
/
Copy pathpackage.json
File metadata and controls
51 lines (51 loc) · 1.36 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
{
"name": "@katis/maybe",
"version": "1.3.2",
"description": "Library for handling possibly undefined values",
"main": "./dist/index.umd.js",
"module": "./dist/index.esm.js",
"sideEffects": false,
"types": "./dist/index.d.ts",
"repository": "https://github.com/katis/maybe-ts",
"author": "Joni Katajamäki",
"keywords": [
"maybe",
"optional",
"undefined",
"null",
"typescript",
"ts",
"monad"
],
"license": "MIT",
"scripts": {
"prepublish": "yarn build",
"build": "yarn build:umd && yarn build:esm && yarn types",
"build:umd": "rollup -c rollup.config.js --file dist/index.umd.js --format umd -n Maybe",
"build:esm": "rollup -c rollup.config.js --file dist/index.esm.js --format esm",
"types": "tsc --strict --emitDeclarationOnly --declaration --outDir dist ./src/index.ts",
"test:watch": "jest --watch"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"devDependencies": {
"@types/jest": "^23.3.2",
"jest": "^23.6.0",
"rollup": "^0.65.2",
"rollup-plugin-typescript": "^0.8.1",
"ts-jest": "^23.1.4",
"typescript": "^3.0.3"
}
}