-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.37 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.37 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
{
"name": "declarative-mapper",
"version": "1.7.2",
"description": "Declarative JSON data transformation and object mapping library for JavaScript/TypeScript with mapping templates, schema-based helpers, and safe VM execution.",
"keywords": [
"config-driven",
"data-mapper",
"data-transformation",
"json-mapper",
"json-to-json",
"json-transformation",
"json-transformer",
"json",
"mapper",
"mapping",
"nodejs",
"object-mapper",
"object-mapping",
"transformation",
"typescript"
],
"type": "module",
"engines": {
"node": ">=16"
},
"main": "dist/cjs/index.js",
"types": "types/index.d.ts",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./types/index.d.ts"
}
},
"scripts": {
"cleanup": "rm -rf ./dist ./types ./coverage",
"test": "jest",
"test:coverage": "jest --collect-coverage",
"changelog": "conventional-changelog -n ./scripts/changelog/index.cjs -r 0 > CHANGELOG.md",
"build": "npm run build:esm && npm run build:cjs && npm run build:schemas",
"build:cjs": "tsc -p ./tsconfig.cjs.json && cp ./scripts/etc/cjs-package.json ./dist/cjs/package.json",
"build:esm": "tsc -p ./tsconfig.esm.json",
"build:schemas": "mkdir -p ./dist/schemas && cp ./schemas/*.json ./dist/schemas/",
"prepack": "npm t && npm run build",
"preversion": "npm audit --audit-level=low && npm t",
"version": "./scripts/cleanup_obsolete_tags.sh v$npm_package_version && npm run changelog && git add CHANGELOG.md",
"lint": "eslint"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/snatalenko/declarative-mapper.git"
},
"author": "@snatalenko",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/snatalenko/declarative-mapper/issues"
},
"homepage": "https://github.com/snatalenko/declarative-mapper#readme",
"devDependencies": {
"@types/chai": "^4.3.20",
"@types/jest": "^29.5.14",
"@types/json-schema": "^7.0.15",
"@types/node": "^20.19.35",
"chai": "^4.5.0",
"conventional-changelog-cli": "^3.0.0",
"eslint": "^10.0.2",
"eslint-plugin-jest": "^29.15.0",
"globals": "^17.4.0",
"jest": "^29.7.0",
"jsonschema": "^1.5.0",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1"
}
}