-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.62 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.62 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
{
"name": "edictor",
"version": "0.5.0dev",
"description": "Modular & Self-Contained Javascript object definition and validation",
"repository": {
"type": "git",
"url": "git+https://github.com/nitipit/edictor.git"
},
"bugs": {
"url": "https://github.com/nitipit/edictor/issues"
},
"homepage": "https://nitipit.github.io/edictor/",
"keywords": [
"schema",
"json",
"validation"
],
"author": "Nitipit Nontasuwan",
"license": "ISC",
"files": [
"dist/**/*",
"src/**/*"
],
"devDependencies": {
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/preset-typescript": "^7.21.4",
"@jest/globals": "^29.5.0",
"@nitipit/adapter": "^1.0.1",
"@nitipit/icon": "^1.0.0",
"@parcel/packager-ts": "^2.8.3",
"@parcel/transformer-typescript-types": "^2.8.3",
"babel-jest": "^29.5.0",
"color": "^4.2.3",
"edictor": "file:./",
"gadjet": "^1.0.4",
"highlight.js": "^11.8.0",
"jest": "^29.5.0",
"parcel": "^2.8.3",
"process": "^0.11.10",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.4"
},
"scripts": {
"build": "parcel build --no-cache --target=es --target=cjs --target=browser --target=types",
"build-watch": "parcel watch -p 1235 --no-cache --target=es --target=types",
"test": "jest",
"test-watch": "jest --watch",
"docs": "parcel build --no-cache --no-scope-hoist --target=docs 'docs-src/**/*.ts'",
"docs-watch": "parcel watch --no-cache --target=docs 'docs-src/**/*.ts'"
},
"source": "src/edictor.ts",
"main": "dist/cjs/edictor.js",
"module": "dist/es/edictor.js",
"types": "dist/types.d.ts",
"targets": {
"module": false,
"cjs": {
"source": "src/edictor.ts",
"distDir": "dist/cjs/",
"context": "node",
"outputFormat": "commonjs",
"isLibrary": true,
"optimize": true
},
"es": {
"source": "src/edictor.ts",
"distDir": "dist/es/",
"context": "node",
"outputFormat": "esmodule",
"isLibrary": true,
"optimize": true
},
"browser": {
"source": "src/edictor.ts",
"distDir": "dist/browser/",
"context": "browser",
"outputFormat": "esmodule",
"isLibrary": false,
"optimize": true
},
"docs": {
"distDir": "docs"
}
}
}