-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
48 lines (48 loc) · 1.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
{
"name": "@candide/opening-hours-parser",
"version": "7.6.3",
"description": "Parses OpenStreetMap opening hours",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "rm -rf ./dist && rsync -a --exclude='*.ts' --prune-empty-dirs src/ dist/ && tsc --project tsconfig-build.json",
"prepublishOnly": "npm test && npm run build",
"test": "mocha --opts test/mocha.opts",
"check-formatting": "./node_modules/.bin/prettier '**/*.ts' --list-different",
"check-licenses": "license-checker --failOn 'GPL-1.0;GPL-2.0;GPL-3.0;LGPL-2.0;LGPL-2.1;LGPL-3.0' --production --summary",
"lint": "eslint --ext js,ts,tsx src"
},
"husky": {
"hooks": {
"commit-msg": "node ./node_modules/fit-commit-js/lib/hook.js .git/COMMIT_EDITMSG",
"pre-commit": "npm run check-formatting && npm run lint",
"pre-push": "npm run test && npm run check-licenses -- --summary"
}
},
"author": "Mark Withers",
"license": "ISC",
"dependencies": {
"date-fns": "^2.17.0",
"date-fns-tz": "^1.1.6",
"typescript-parsec": "^0.3.1"
},
"devDependencies": {
"@candide/eslint-config-node-service": "^1.0.1",
"@types/chai": "^4.2.11",
"@types/date-fns": "^2.6.0",
"@types/mocha": "^5.2.7",
"@types/node": "^14.0.0",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-prettier": "^3.1.3",
"fit-commit-js": "^0.3.2",
"husky": "^4.2.5",
"license-checker": "^25.0.1",
"mocha": "^6.2.3",
"prettier": "^2.0.5",
"ts-node": "^8.9.0",
"typescript": "^3.9.5"
}
}