-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathpackage.json
99 lines (99 loc) · 2.87 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "calendar-utils",
"version": "0.11.0",
"description": "Utility functions to generate views for calendars",
"packageManager": "[email protected]",
"main": "bundles/calendar-utils.umd.js",
"module": "calendar-utils.js",
"typings": "calendar-utils.d.ts",
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:ci": "jest --runInBand --coverage && pnpm lint && pnpm build",
"test:coverage": "jest --coverage",
"start": "pnpm test:watch",
"build:umd": "webpack",
"build:esm": "tsc --module es2015",
"build:date-adapters": "tsc -p tsconfig-date-adapters.json && tsc -p tsconfig-date-adapters.json --module es2015 --outDir dist/date-adapters/esm",
"copyfiles": "copyfiles README.md LICENSE package.json dist && copyfiles -u 1 src/date-adapters/**/package.json dist",
"build": "pnpm clean && pnpm build:umd && pnpm build:esm && pnpm build:date-adapters && pnpm copyfiles",
"clean": "rm -rf dist",
"preversion": "jest",
"postversion": "pnpm build && git push && pnpm publish dist && pnpm clean",
"lint": "eslint \"{src,test}/**/*.ts\"",
"prepare": "node -e \"try { require('husky').install() } catch (e) {}\""
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"eslint --fix"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/mattlewis92/calendar-utils.git"
},
"keywords": [
"calendar",
"utilities"
],
"author": "Matt Lewis",
"license": "MIT",
"bugs": {
"url": "https://github.com/mattlewis92/calendar-utils/issues"
},
"homepage": "https://github.com/mattlewis92/calendar-utils#readme",
"devDependencies": {
"@sinonjs/fake-timers": "^9.1.2",
"@types/chai": "^4.3.1",
"@types/jest": "^28.1.6",
"@types/node": "^18.6.3",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"chai": "^4.3.6",
"copyfiles": "^2.4.1",
"date-fns": "^2.29.1",
"dayjs": "^1.11.4",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.7.0",
"husky": "^8.0.0",
"jest": "^28.1.3",
"lint-staged": "^13.0.3",
"luxon": "^3.5.0",
"moment": "^2.29.4",
"prettier": "^2.7.1",
"timezone-mock": "^1.3.4",
"ts-jest": "^28.0.7",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"coverageThreshold": {
"global": {
"branches": 99,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
]
}
}