-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 1.81 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 1.81 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
{
"name": "datalastic",
"version": "0.1.2",
"description": "Node.js SDK for the Datalastic Maritime API",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "npm run build:esm && npm run build:cjs && npm run build:types",
"build:esm": "tsc --project tsconfig.esm.json",
"build:cjs": "tsc --project tsconfig.cjs.json && node -e \"require('fs').writeFileSync('dist/cjs/package.json',JSON.stringify({type:'commonjs'}))\"",
"build:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationDir dist/types",
"test": "node --experimental-vm-modules node_modules/.bin/jest"
},
"engines": {
"node": ">=18"
},
"repository": {
"type": "git",
"url": "https://github.com/datalastic/datalastic-node.git"
},
"homepage": "https://github.com/datalastic/datalastic-node#readme",
"bugs": {
"url": "https://github.com/datalastic/datalastic-node/issues"
},
"keywords": [
"maritime",
"vessel",
"tracking",
"ais",
"shipping"
],
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^20.0.0",
"jest": "^29.5.0",
"ts-jest": "^29.1.0",
"typescript": "^5.0.0"
},
"jest": {
"preset": "ts-jest/presets/default-esm",
"testEnvironment": "node",
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
}
},
"type": "module"
}