-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.15 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 3.15 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
{
"name": "@tanem/svg-injector",
"version": "11.3.2",
"description": "Fast, caching, dynamic inline SVG DOM injection library.",
"author": "Tane Morgan (https://github.com/tanem)",
"main": "dist/index.js",
"module": "dist/svg-injector.esm.js",
"jsnext:main": "dist/svg-injector.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"homepage": "https://github.com/tanem/svg-injector",
"bugs": "https://github.com/tanem/svg-injector/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/tanem/svg-injector.git"
},
"keywords": [
"dom",
"html",
"images",
"img",
"javascript",
"scalable-vector-graphics",
"svg",
"typescript"
],
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.28.6",
"content-type": "^1.0.5",
"tslib": "^2.8.1"
},
"devDependencies": {
"@babel/core": "7.29.0",
"@babel/plugin-transform-runtime": "7.29.0",
"@babel/preset-env": "7.29.0",
"@babel/preset-typescript": "7.28.5",
"@eslint/eslintrc": "3.3.3",
"@eslint/js": "10.0.1",
"@playwright/test": "1.58.2",
"@rollup/plugin-babel": "6.1.0",
"@rollup/plugin-commonjs": "29.0.0",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-replace": "6.0.3",
"@rollup/plugin-terser": "1.0.0",
"@types/content-type": "1.1.9",
"@types/node": "25.2.3",
"@typescript-eslint/eslint-plugin": "8.56.0",
"@typescript-eslint/parser": "8.56.0",
"babel-plugin-istanbul": "7.0.1",
"eslint": "10.0.0",
"eslint-config-prettier": "10.1.8",
"istanbul-lib-coverage": "3.2.2",
"istanbul-lib-report": "3.0.1",
"istanbul-lib-source-maps": "5.0.6",
"istanbul-reports": "3.2.0",
"npm-run-all2": "8.0.4",
"prettier": "3.8.1",
"rollup": "4.59.0",
"serve": "14.2.6",
"shx": "0.4.0",
"tanem-scripts": "8.0.2",
"typescript": "5.9.3"
},
"scripts": {
"build": "run-s clean compile bundle",
"bundle": "rollup -c",
"check:format": "prettier --list-different \"**/*.{js,ts}\"",
"check:types": "tsc --noEmit",
"clean": "run-p clean:*",
"clean:compiled": "shx rm -rf compiled",
"clean:coverage": "shx rm -rf coverage",
"clean:coverage-data": "shx rm -rf .nyc_output coverage",
"clean:dist": "shx rm -rf dist",
"compile": "tsc -p tsconfig.base.json",
"format": "prettier --write \"**/*.{js,ts}\"",
"lint": "eslint .",
"postbundle": "npm run clean:compiled && shx cp ./index.js ./dist/index.js",
"release": "tanem-scripts release",
"test": "run-s check:* lint build test:playwright build:examples test:examples:playwright",
"test:coverage": "run-s clean:coverage-data check:* lint build:coverage test:playwright:coverage report:coverage",
"test:examples": "run-s build build:examples test:examples:playwright",
"build:examples": "node scripts/build-examples.js",
"test:examples:playwright": "playwright test --config playwright.examples.config.ts",
"test:playwright": "playwright test",
"test:playwright:coverage": "COVERAGE=1 playwright test",
"build:coverage": "COVERAGE=1 run-s clean compile bundle",
"report:coverage": "node scripts/coverage-report.js"
}
}