-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
55 lines (55 loc) · 1.69 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
{
"name": "@sbp/sbp",
"version": "2.4.1",
"description": "Selector-based Programming: JavaScript Edition",
"types": "dist/umd/index.d.cts",
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.mts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/umd/index.d.cts",
"default": "./dist/umd/index.cjs"
}
}
},
"homepage": "https://github.com/okTurtles/sbp-js",
"scripts": {
"test": "node --import 'data:text/javascript,import { register } from \"node:module\"; import { pathToFileURL } from \"node:url\"; register(\"ts-node/esm\", pathToFileURL(\"./\"));' src/index.test.ts",
"build:esm": "tsc --project tsconfig.json --declaration && mv ./dist/esm/index.d.ts ./dist/esm/index.d.mts",
"build:umd": "tsc --project tsconfig.umd.json --declaration && mv ./dist/umd/index.js ./dist/umd/index.cjs && mv ./dist/umd/index.d.ts ./dist/umd/index.d.cts",
"build": "npm run build:esm && npm run build:umd",
"lint": "eslint .",
"clean": "rm -f 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.0",
"eslint-config-standard": "17.1.0",
"ts-node": "10.9.2",
"typescript": "5.8.2"
}
}