-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.38 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
{
"name": "@checkdigit/time",
"version": "4.0.0",
"description": "Standard time handling",
"author": "Check Digit, LLC",
"license": "MIT",
"bugs": {
"url": "https://github.com/checkdigit/time/issues"
},
"homepage": "https://github.com/checkdigit/time#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/checkdigit/time.git"
},
"engines": {
"node": ">=20.11"
},
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist-types/index.d.ts",
"import": "./dist-mjs/index.mjs",
"default": "./dist-mjs/index.mjs"
}
},
"files": [
"src",
"dist-types",
"dist-mjs",
"!src/**/*.test.ts",
"!src/**/*.spec.ts",
"!dist-types/**/*.test.d.ts",
"!dist-types/**/*.spec.d.ts",
"!dist-mjs/**/*.test.mjs",
"!dist-mjs/**/*.spec.mjs",
"SECURITY.md"
],
"devDependencies": {
"@checkdigit/eslint-config": "^9.2.0",
"@checkdigit/jest-config": "^6.0.0",
"@checkdigit/prettier-config": "^5.3.0",
"@checkdigit/typescript-config": "^7.0.1",
"@js-temporal/polyfill": "^0.4.4",
"rimraf": "^5.0.5"
},
"scripts": {
"prepublishOnly": "npm run build:dist-types && npm run build:dist-mjs",
"build:dist-types": "rimraf dist-types && npx builder --type=types --outDir=dist-types",
"build:dist-mjs": "rimraf dist-mjs && npx builder --type=module --sourceMap --outDir=dist-mjs && node dist-mjs/index.mjs",
"lint": "eslint --max-warnings 0 --ignore-path .gitignore .",
"lint:fix": "eslint --ignore-path .gitignore . --fix",
"prettier": "prettier --ignore-path .gitignore --list-different .",
"prettier:fix": "prettier --ignore-path .gitignore --write .",
"test": "npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style",
"ci:compile": "tsc --noEmit",
"ci:test": "NODE_OPTIONS=\"--disable-warning ExperimentalWarning --experimental-vm-modules\" jest --coverage=false",
"ci:coverage": "NODE_OPTIONS=\"--disable-warning ExperimentalWarning --experimental-vm-modules\" jest --coverage=true",
"ci:lint": "npm run lint",
"ci:style": "npm run prettier"
},
"jest": {
"preset": "@checkdigit/jest-config"
},
"eslintConfig": {
"extends": [
"@checkdigit/eslint-config"
],
"ignorePatterns": [
"src/date-fns/**",
"src/date-fns-tz/**"
]
},
"prettier": "@checkdigit/prettier-config"
}