-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
89 lines (89 loc) · 2.58 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
{
"name": "svg-engine",
"version": "0.2.4",
"description": "Create SVG files in Node.js",
"main": "./lib/node/cjs/index.js",
"module": "./lib/node/esm/index.js",
"browser": "./lib/browser/esm/index.js",
"exports": {
".": {
"node": {
"require": "./lib/node/cjs/index.js",
"import": "./lib/node/esm/index.js"
},
"browser": {
"require": "./lib/browser/cjs/index.js",
"import": "./lib/browser/esm/index.js"
},
"default": {
"require": "./lib/node/cjs/index.js",
"import": "./lib/node/esm/index.js"
}
},
"./svg": {
"node": {
"require": "./lib/node/cjs/shared/exports/svg.js",
"import": "./lib/node/esm/shared/exports/svg.js"
},
"browser": {
"require": "./lib/browser/cjs/shared/exports/svg.js",
"import": "./lib/browser/esm/shared/exports/svg.js"
},
"default": {
"require": "./lib/node/cjs/shared/exports/svg.js",
"import": "./lib/node/esm/shared/exports/svg.js"
}
},
"./calc": {
"node": {
"require": "./lib/node/cjs/shared/exports/svg.js",
"import": "./lib/node/esm/shared/exports/svg.js"
},
"browser": {
"require": "./lib/browser/cjs/shared/exports/svg.js",
"import": "./lib/browser/esm/shared/exports/svg.js"
},
"default": {
"require": "./lib/node/cjs/shared/exports/calc.js",
"import": "./lib/node/esm/shared/exports/calc.js"
}
}
},
"sideEffects": false,
"scripts": {
"build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && tsc -p tsconfig.browser.esm.json && tsc -p tsconfig.browser.cjs.json",
"postbuild": "sh fix-exports.sh",
"prepare": "ts-patch install -s",
"test": "npm run build && node test/node/cjs.js && node test/node/classList.mjs && node test/node/esm.mjs && node test/node/matches.mjs"
},
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/schoero/svg-engine.git"
},
"keywords": [
"svg",
"generator",
"node",
"browser",
"deno"
],
"author": "Roger Schönbächler",
"license": "MIT",
"bugs": {
"url": "https://github.com/schoero/svg-engine/issues"
},
"homepage": "https://github.com/schoero/svg-engine#readme",
"devDependencies": {
"@schoero/eslint-config": "^1.4.0",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
"assert": "^2.0.0",
"eslint": "^8.13.0",
"ts-patch": "^2.0.1",
"typescript": "^4.6.3",
"typescript-transform-paths": "^3.3.1"
}
}