Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.54 KB
/
Copy pathpackage.json
File metadata and controls
54 lines (54 loc) · 1.54 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
{
"name": "keycode-consts",
"version": "1.0.1",
"description": "A collection of key code constants and utility functions for JavaScript.",
"type": "module",
"sideEffects": false,
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"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": [
"dist"
],
"author": "Zac Davis (@thatzacdavis)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/thatzacdavis/keycode-consts.git"
},
"engines": {
"node": ">=20"
},
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && node scripts/fixup.mjs",
"typecheck": "tsc -p tsconfig.json",
"test": "vitest run",
"test:watch": "vitest",
"lint": "eslint .",
"format": "prettier --write .",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/node": "^22.10.5",
"eslint": "^9.17.0",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"typescript": "^5.7.3",
"typescript-eslint": "^8.19.1",
"vitest": "^4.1.10"
}
}