-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
76 lines (76 loc) · 1.93 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
{
"name": "weeknumber",
"version": "1.2.1",
"description": "week number systems for Gregorian year according to ISO-8601 or starting on sundays, saturdays",
"keywords": [
"day",
"iso-8601",
"iso8601",
"monday",
"number",
"saturday",
"sunday",
"week"
],
"homepage": "https://github.com/commenthol/weeknumber#readme",
"bugs": {
"url": "https://github.com/commenthol/weeknumber/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/commenthol/weeknumber.git"
},
"license": "Unlicense",
"author": "Commenthol <commenthol@gmail.com>",
"type": "module",
"exports": {
".": {
"require": "./lib/index.cjs",
"import": "./src/index.js"
},
"./package.json": "./package.json"
},
"main": "./lib/index.cjs",
"module": "./src/index.js",
"types": "./types/index.d.ts",
"directories": {
"lib": "lib",
"test": "test"
},
"scripts": {
"all": "npm run clean && npm run lint && npm run build && npm test && npm run test:tz",
"build": "rollup -c",
"clean": "rimraf lib coverage",
"coverage": "nyc -r html -r text npm test",
"lint": "eslint --fix \"**/*.js\"",
"prepublishOnly": "npm run all",
"test": "c8 mocha",
"test:tz": "TZ=Europe/Brussels mocha",
"types": "tsc src/*.js --declaration --allowJs --emitDeclarationOnly --outDir types"
},
"babel": {
"presets": [
"@babel/preset-env"
]
},
"mocha": {
"exit": true
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/core": "^7.14.3",
"@babel/preset-env": "^7.14.4",
"@babel/register": "^7.13.16",
"c8": "^7.7.2",
"eslint": "^7.28.0",
"eslint-config-standard": "^16.0.3",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.1.0",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.50.6",
"typescript": "^4.3.2"
}
}