-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 3.87 KB
/
package.json
File metadata and controls
157 lines (157 loc) · 3.87 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "@cloud-diagrams/core",
"version": "0.2.2",
"description": "A complete Mingrammer-style cloud architecture diagramming library for JavaScript/TypeScript with D3.js integration. Create professional cloud architecture diagrams with 1,100+ official cloud service icons from AWS, Azure, and GCP.",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE",
"docs",
"examples"
],
"scripts": {
"build": "npm run clean && npm run build:lib && npm run build:types",
"build:lib": "rollup -c",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist",
"clean": "rm -rf dist",
"dev": "rollup -c --watch",
"demo": "npx http-server examples -p 8080 -o",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write src/**/*.{js,ts,json,md}",
"format:check": "prettier --check src/**/*.{js,ts,json,md}",
"serve": "npx http-server . -p 3000",
"serve:dist": "npx http-server dist -p 3001",
"validate": "npm run lint && npm run test && npm run build",
"prepublishOnly": "npm run validate",
"start": "npm run demo",
"docs:serve": "npx http-server docs -p 8081 -o",
"size-check": "bundlesize"
},
"keywords": [
"cloud-diagrams",
"mingrammer",
"d3js",
"cloud",
"aws",
"azure",
"gcp",
"icons",
"visualization",
"diagrams",
"architecture",
"infrastructure",
"devops",
"typescript",
"javascript",
"react",
"vue",
"angular",
"nextjs",
"svg",
"export",
"interactive"
],
"author": {
"name": "amaboh",
"email": "amaboh@github.com",
"url": "https://github.com/amaboh"
},
"license": "MIT",
"dependencies": {
"d3": "^7.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.0",
"@types/d3": "^7.4.0",
"@types/jest": "^29.5.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"bundlesize": "^0.18.1",
"eslint": "^8.45.0",
"http-server": "^14.1.1",
"jest": "^29.5.0",
"prettier": "^3.0.0",
"rollup": "^3.26.0",
"ts-jest": "^29.3.4",
"tslib": "^2.8.1",
"typescript": "^5.0.0"
},
"peerDependencies": {
"d3": "^7.0.0"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=8.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/amaboh/kloud_diagramming.git"
},
"bugs": {
"url": "https://github.com/amaboh/kloud_diagramming/issues"
},
"homepage": "https://github.com/amaboh/kloud_diagramming#readme",
"funding": {
"type": "github",
"url": "https://github.com/sponsors/amaboh"
},
"bundlesize": [
{
"path": "./dist/index.esm.js",
"maxSize": "50 kB"
},
{
"path": "./dist/index.umd.js",
"maxSize": "55 kB"
}
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"extensionsToTreatAsEsm": [
".ts"
],
"transform": {
"^.+\\.ts$": [
"ts-jest",
{
"useESM": true
}
]
},
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transformIgnorePatterns": [
"node_modules/(?!(d3|d3-.*)/)"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.test.ts",
"<rootDir>/src/**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/development/",
"/dist/"
],
"collectCoverageFrom": [
"src/**/*.ts",
"!src/**/*.d.ts",
"!src/**/__tests__/**"
],
"setupFilesAfterEnv": [
"<rootDir>/src/__tests__/setup.ts"
]
}
}