-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.73 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"name": "@ropescore/rulesets",
"version": "0.14.0",
"description": "Collection of rulesets to calculate rope skipping results",
"author": "Svante Bengtson <[email protected]> (https://swantzter.se)",
"license": "MIT",
"homepage": "https://ropescore.com",
"repository": "https://github.com/RopeScore/rulesets",
"main": "dist/cjs/lib/index.js",
"module": "dist/esm/lib/index.js",
"types": "dist/cjs/lib/index.d.ts",
"exports": {
".": {
"require": {
"types": "./dist/cjs/lib/index.d.ts",
"default": "./dist/cjs/lib/index.js"
},
"import": {
"types": "./dist/esm/lib/index.d.ts",
"default": "./dist/esm/lib/index.js"
}
},
"./models/*": {
"require": {
"types": "./dist/cjs/lib/models/*.d.ts",
"default": "./dist/cjs/lib/models/*.js"
},
"import": {
"types": "./dist/esm/lib/models/*.d.ts",
"default": "./dist/esm/lib/models/*.js"
}
},
"./preconfigured/*": {
"require": {
"types": "./dist/cjs/lib/preconfigured/*.d.ts",
"default": "./dist/cjs/lib/preconfigured/*.js"
},
"import": {
"types": "./dist/esm/lib/preconfigured/*.d.ts",
"default": "./dist/esm/lib/preconfigured/*.js"
}
},
"./rulesets/*": {
"require": {
"types": "./dist/cjs/lib/rulesets/*.d.ts",
"default": "./dist/cjs/lib/rulesets/*.js"
},
"import": {
"types": "./dist/esm/lib/rulesets/*.d.ts",
"default": "./dist/esm/lib/rulesets/*.js"
}
}
},
"sideEffects": false,
"files": [
"dist/"
],
"scripts": {
"test": "tsx --test --experimental-test-coverage --test-coverage-include='lib/**/*.ts' --test-coverage-exclude='**/*.test.ts' --test-coverage-exclude='lib/{preconfigured,rulesets}/**/*' --test-reporter=junit --test-reporter-destination=coverage/junit.xml --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test-reporter=spec --test-reporter-destination=stdout",
"pretest": "npm run build:data && mkdir -p coverage",
"postversion": "git push && git push --tags",
"lint": "npm run lint:code && npm run validate",
"validate": "tsx bin/validate.ts",
"lint:code": "eslint .",
"lint:fix": "npm run lint:code -- --fix",
"typecheck": "tsc --project tsconfig.eslint.json --noEmit",
"build": "npm run build:data && npm run build:code",
"build:code": "tsc -b",
"build:data": "tsx bin/generate-lists.ts",
"prepack": "npm run build"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.4",
"@types/eslint__js": "^8.42.3",
"@types/node": "^20.11.28",
"eslint": "^9.9.1",
"glob": "^11.0.0",
"neostandard": "^0.11.4",
"tsx": "^4.18.0",
"typescript": "5.5"
}
}