forked from mattlewis92/calendar-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.63 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.3.1",
"description": "Utility functions to generate views for calendars",
"main": "bundles/calendar-utils.umd.js",
"module": "calendar-utils.js",
"typings": "calendar-utils.d.ts",
"scripts": {
"test": "TZ=UTC jest",
"test:watch": "npm t -- --watch",
"test:ci": "npm t -- --runInBand --coverage && npm run lint",
"test:coverage": "npm t -- --coverage",
"start": "npm run test:watch",
"build:umd": "webpack",
"build:esm": "tsc --module es2015",
"build:date-adapters": "tsc -p tsconfig-date-adapters.json",
"copyfiles": "copyfiles README.md LICENSE package.json dist && copyfiles -u 1 src/date-adapters/**/package.json dist",
"build": "npm run build:umd && npm run build:esm && npm run build:date-adapters && npm run copyfiles",
"clean": "rm -rf dist",
"preversion": "npm test",
"postversion": "npm run build && git push && npm publish dist && npm run clean",
"codecov": "cat coverage/lcov.info | codecov",
"lint": "tslint \"{src,test}/**/*.ts\""
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"tslint --fix",
"git add"
]
},
"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": {
"@types/chai": "^4.1.7",
"@types/jest": "^24.0.11",
"@types/node": "^11.13.6",
"chai": "^4.2.0",
"codecov": "^3.3.0",
"copyfiles": "^2.1.0",
"date-fns": "1.29.0",
"husky": "^1.3.1",
"jest": "^24.7.1",
"lint-staged": "^8.1.5",
"lolex": "^4.0.1",
"moment": "^2.24.0",
"prettier": "^1.17.0",
"ts-jest": "^24.0.2",
"ts-loader": "^5.3.3",
"ts-node": "^8.1.0",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.4.4",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.0"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"coverageThreshold": {
"global": {
"branches": 96,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"modulePathIgnorePatterns": [
"<rootDir>/dist/"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}