-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 2.13 KB
/
package.json
File metadata and controls
69 lines (69 loc) · 2.13 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
{
"name": "ntp-packet-parser",
"version": "0.6.0",
"description": "A parser for NTP UDP packets",
"main": "./dist/cjs/index.js",
"types": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/cjs/index.js"
},
"default": "./dist/cjs/index.js"
}
},
"scripts": {
"prepublishOnly": "yarn prettier:lint && yarn build && yarn test:integration",
"test": "mocha --recursive 'test/**/*.spec.ts'",
"test:integration": "node test/integration/esm.mjs && node test/integration/cjs.cjs",
"coverage": "nyc yarn test",
"build:esm": "tsc --project tsconfig.esm.json && node -e \"require('fs').writeFileSync('dist/esm/package.json', JSON.stringify({type:'module'}))\"",
"build:cjs": "tsc --project tsconfig.cjs.json && node -e \"require('fs').writeFileSync('dist/cjs/package.json', JSON.stringify({type:'commonjs'}))\"",
"build": "yarn build:esm && yarn build:cjs",
"prettier": "prettier --write src/**/*.ts test/**/*.{js,ts}",
"prettier:lint": "prettier --list-different src/**/*.ts test/**/*.{js,ts}"
},
"keywords": [
"ntp",
"clock",
"sync",
"parser",
"udp"
],
"author": "Laurens Stötzel",
"repository": {
"type": "git",
"url": "git+https://github.com/buffcode/ntp-packet-parser.git"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "1.0.2",
"@types/mocha": "10.0.10",
"@types/node": "22.19.17",
"mocha": "12.0.0-beta-9.2",
"nyc": "18.0.0",
"prettier": "3.8.3",
"source-map-support": "0.5.21",
"ts-node": "10.9.2",
"typescript": "6.0.3"
},
"resolutions": {
"ts-node/diff": "^4.0.4"
},
"files": [
"dist"
],
"license": "GPL-3.0",
"prettier": {
"printWidth": 120,
"trailingComma": "es5"
},
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}