-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
61 lines (61 loc) · 1.78 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
{
"name": "@sbp/sbp",
"version": "2.4.0",
"description": "Selector-based Programming: JavaScript Edition",
"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": "mocha --extension ts --node-option no-warnings=ExperimentalWarning --node-option loader=ts-node/esm -R spec src/**/*.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": {
"@types/mocha": "10.0.6",
"@types/should-sinon": "0.0.12",
"@types/sinon": "17.0.3",
"@typescript-eslint/eslint-plugin": "7.8.0",
"eslint-config-standard": "17.0.0-0",
"mocha": "10.4.0",
"should": "13.2.3",
"should-sinon": "0.0.6",
"sinon": "17.0.1",
"ts-node": "10.9.2",
"typescript": "5.4.5"
}
}