-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
92 lines (92 loc) · 2.33 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "node-dto",
"version": "2.0.2",
"description": "A small dto lib for nodejs",
"exports": {
"require": "./dist/index.js",
"import": "./src/index.mjs"
},
"main": "./dist/index.js",
"module": "./src/node_dto.mjs",
"files": [
"dist/index.js",
"dist/node_dto.js",
"dist/types.js",
"dist/types_handlers.js",
"dist/utils/props_schema.js",
"dist/validators/index.js",
"dist/validators/schema_validator.js",
"dist/validators/validate_array.js",
"dist/validators/validate_boolean.js",
"dist/validators/validate_date.js",
"dist/validators/validate_enum.js",
"dist/validators/validate_number.js",
"dist/validators/validate_object.js",
"dist/validators/validate_string.js",
"src/index.mjs",
"src/node_dto.mjs",
"src/types.mjs",
"src/types_handlers.mjs",
"src/utils/props_schema.mjs",
"src/validators/index.mjs",
"src/validators/schema_validator.mjs",
"src/validators/validate_array.mjs",
"src/validators/validate_boolean.mjs",
"src/validators/validate_date.mjs",
"src/validators/validate_enum.mjs",
"src/validators/validate_number.mjs",
"src/validators/validate_object.mjs",
"src/validators/validate_string.mjs",
"readme.md"
],
"scripts": {
"test": "node --test",
"prepare": "husky install",
"lint": "prettier --check ./**/*.mjs",
"format": "prettier --write ./**/*.mjs",
"build": "babel src -d dist",
"release": "np",
"prepublish": "npm run build",
"postpublish": "rm -rf ./dist"
},
"np": {
"message": "chore(release): %s",
"tag": "latest",
"branch": "main",
"anyBranch": false
},
"keywords": [
"node-dto",
"dto",
"nodejs",
"javascript",
"data transfer object",
"node-package"
],
"author": "Acidiney Dias <acidineydias@gmail.com>",
"homepage": "https://github.com/acidiney/node-dto",
"license": "MIT",
"babel": {
"presets": [
"@babel/preset-env"
],
"plugins": [
[
"module-extension",
{
"mjs": "js"
}
]
]
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.24.8",
"@babel/preset-env": "^7.24.8",
"babel-plugin-module-extension": "^0.1.3",
"git-commit-msg-linter": "^5.0.8",
"husky": "^9.0.11",
"np": "^10.0.6",
"prettier": "^3.3.3"
}
}