-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
96 lines (96 loc) · 3.04 KB
/
package.json
File metadata and controls
96 lines (96 loc) · 3.04 KB
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
{
"name": "@rangerrick/moment-javaformat",
"version": "2.0.12",
"description": "Format Moment.js using Java format strings",
"browser": "dist/moment-javaformat.min.js",
"main": "dist/node.min.js",
"module": "dist/moment-javaformat.min.js",
"author": "Benjamin Reed <ranger@opennms.org>",
"license": "MIT",
"keywords": [
"moment",
"date",
"time",
"format",
"java"
],
"repository": {
"type": "git",
"url": "https://github.com/RangerRick/moment-javaformat.git"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@commitlint/cli": "^20.0.0",
"@commitlint/config-conventional": "^20.0.0",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^10.0.1",
"@types/jest": "^30.0.0",
"@types/node": "^22.10.1",
"@types/webpack": "^5.0.0",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"babel-jest": "^30.0.0",
"babel-loader": "^10.0.0",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-depend": "^1.0.0",
"eslint-plugin-no-barrel-files": "^1.2.2",
"eslint-plugin-prettier": "^5.5.4",
"globals": "^17.0.0",
"husky": "^9.0.7",
"jest": "^30.0.0",
"jest-environment-jsdom": "^30.0.0",
"knip": "^5.38.4",
"lint-staged": "^16.0.0",
"mkdirp": "^3.0.0",
"moment-timezone": "^0.6.0",
"node-polyfill-webpack-plugin": "^4.0.0",
"prettier": "3.8.1",
"prettier-plugin-java": "^2.0.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.40.0",
"webpack": "^5.40.0",
"webpack-bundle-analyzer": "^5.0.0",
"webpack-cli": "^6.0.1",
"webpack-node-externals": "^3.0.0"
},
"peerDependencies": {
"moment-timezone": "^0.x"
},
"files": [
"dist"
],
"browserslist": [
"defaults",
"last 2 versions, not dead",
"> 5%, not dead",
"maintained node versions"
],
"lint-staged": {
"**/*": "prettier --write ."
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.{js,ts}"
],
"errorOnDeprecated": true,
"testEnvironment": "jsdom"
},
"scripts": {
"prepare": "husky",
"prepublishOnly": "npm run test",
"prettier": "prettier --write .",
"build": "webpack --mode=development",
"build-release": "webpack --mode=development && webpack --mode=production && tsc -d --declarationMap --emitDeclarationOnly --declarationDir dist/lib",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
"release": "npm run test && npm run build-release",
"lint": "eslint src test && prettier --check . && knip --production --strict",
"generate-testdata": "mkdirp node_modules/.cache/java-test-data && javac -source 1.8 -target 1.8 -d node_modules/.cache/java-test-data src/date.java && java -classpath node_modules/.cache/java-test-data date > test/test-data.js",
"test": "npm run lint && jest",
"watch": "webpack --mode=development --watch --debug"
}
}