This repository has been archived by the owner on Feb 19, 2024. It is now read-only.
forked from wanasit/chrono
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
87 lines (87 loc) · 2.21 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
{
"name": "chrono-node",
"description": "A natural language date parser in Javascript",
"homepage": "http://github.com/wanasit/chrono",
"repository": {
"type": "git",
"url": "https://github.com/wanasit/chrono.git"
},
"prettier": {
"quoteProps": "preserve"
},
"jest": {
"verbose": true,
"testURL": "http://localhost/",
"preset": "ts-jest"
},
"license": "MIT",
"version": "2.1.10",
"directories": {
"source": "./src",
"test": "./test"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"devDependencies": {
"@types/jest": "^26.0.4",
"@typescript-eslint/eslint-plugin": "^4.7.0",
"@typescript-eslint/parser": "^4.7.0",
"eslint": "^7.13.0",
"eslint-config-prettier": "^6.15.0",
"husky": "^4.2.5",
"jest": "^26.1.0",
"prettier": "^2.0.5",
"ts-jest": "^26.1.1",
"typescript": "^3.9.6"
},
"husky": {
"hooks": {
"pre-commit": "npm run prettier && npm run test:silent"
}
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepare": "npm run build",
"eslint": "eslint src test",
"prettier": "npm run prettier:src && npm run prettier:test",
"prettier:src": "prettier --write src --loglevel=warn",
"prettier:test": "prettier --write test --loglevel=warn",
"watch": "jest --watch",
"test": "jest --coverage",
"test:silent": "jest --silent",
"coveralls": "npm run test && cat coverage/lcov.info | coveralls"
},
"dependencies": {
"dayjs": "^1.8.29"
},
"eslintConfig": {
"env": {
"es6": true,
"node": true,
"browser": true
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"modules": true
},
"project": "./tsconfig.json"
},
"parser": "@typescript-eslint/parser",
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"plugins": [
"@typescript-eslint"
],
"reportUnusedDisableDirectives": true,
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "args": "none" }],
"prefer-const": "warn"
}
}
}