-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.83 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
63
64
65
66
67
68
69
70
{
"name": "@mrdrogdrog/optional",
"version": "1.2.1",
"description": "Provides a java-like optional class",
"author": "Tilman Vatteroth <git@tilmanvatteroth.de>",
"license": "MIT",
"scripts": {
"build": "./build.sh",
"test": "jest",
"prepublish": "rm -rf dist && npm run lint && npm run build && npm run test",
"lint": "eslint src --ext .ts",
"lint:fix": "eslint --fix --ext .ts src",
"docs": "typedoc --plugin typedoc-plugin-markdown --out docs src/index.ts"
},
"type": "module",
"source": "src/index.ts",
"main": "dist/cjs/index.js",
"types": "dist/cjs/index.d.ts",
"module": "./dist/esm/index.js",
"exports": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"files": [
"LICENSES/*",
"package.json",
"README.md",
"dist/esm/index.d.ts",
"dist/esm/index.js.map",
"dist/esm/index.js",
"dist/esm/package.json",
"dist/cjs/index.d.ts",
"dist/cjs/index.js.map",
"dist/cjs/index.js",
"dist/cjs/package.json"
],
"repository": {
"type": "git",
"url": "https://github.com/mrdrogdrog/optional.git"
},
"devDependencies": {
"@jest/types": "29.6.3",
"@typescript-eslint/eslint-plugin": "7.17.0",
"@typescript-eslint/parser": "7.17.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-prettier": "5.2.1",
"jest": "29.7.0",
"prettier": "3.3.3",
"ts-jest": "29.1.4",
"typescript": "5.5.4"
},
"prettier": {
"parser": "typescript",
"singleQuote": true,
"jsxSingleQuote": true,
"semi": false,
"tabWidth": 2,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "always"
}
}