-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.92 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 1.92 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
{
"name": "@sbp/okturtles.events",
"version": "1.0.1",
"description": "SBP-friendly event handling.",
"types": "dist/umd/index.d.cts",
"main": "dist/umd/index.cjs",
"module": "dist/esm/index.mjs",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.mts",
"default": "./dist/esm/index.mjs"
},
"require": {
"types": "./dist/umd/index.d.cts",
"default": "./dist/umd/index.cjs"
}
}
},
"homepage": "https://github.com/okTurtles/okTurtles.events",
"scripts": {
"test": "node --import 'data:text/javascript,import { register } from \"node:module\"; import { pathToFileURL } from \"node:url\"; register(\"ts-node/esm\", pathToFileURL(\"./\")); process.on(\"uncaughtException\", (e) => console.error(\"ERROR\", e));' src/index.test.ts",
"build:esm": "tsc --project tsconfig.json --declaration && mv ./dist/esm/index.d.ts ./dist/esm/index.d.mts && mv ./dist/esm/index.js ./dist/esm/index.mjs",
"build:umd": "tsc --project tsconfig.umd.json --declaration && mv ./dist/umd/index.d.ts ./dist/umd/index.d.cts && mv ./dist/umd/index.js ./dist/umd/index.cjs",
"build": "npm run build:esm && npm run build:umd",
"lint": "eslint",
"clean": "rm -rf dist/*"
},
"browserslist": "> 0.25% and not dead and since 2020",
"author": "Greg Slepak",
"license": "MIT",
"eslintConfig": {
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@typescript-eslint/recommended",
"standard"
]
},
"eslintIgnore": [
"dist/*",
"node_modules/*",
"**/*.md"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "8.26.1",
"eslint-config-standard": "17.1.0",
"ts-node": "10.9.2",
"typescript": "5.8.2"
},
"dependencies": {
"@sbp/okturtles.data": "^0.1.6"
},
"peerDependencies": {
"@sbp/sbp": "2.x"
}
}