-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 1.72 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 1.72 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"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": "vitest run",
"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": {
"@eslint/js": "9.32.0",
"typescript-eslint": "8.39.0",
"eslint": "9.32.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-prettier": "5.5.4",
"vitest": "3.0.7",
"prettier": "3.6.2",
"typescript": "5.9.2"
},
"prettier": {
"parser": "typescript",
"singleQuote": true,
"jsxSingleQuote": true,
"semi": false,
"tabWidth": 2,
"trailingComma": "none",
"bracketSpacing": true,
"arrowParens": "always"
}
}