-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
115 lines (115 loc) · 3.15 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
{
"name": "@marp-team/marpit-svg-polyfill",
"version": "2.1.0",
"description": "Polyfill for inline SVG slides rendered by Marpit",
"license": "MIT",
"author": {
"name": "Marp team",
"url": "https://github.com/marp-team"
},
"contributors": [
{
"name": "Yuki Hattori",
"url": "https://github.com/yhatt"
}
],
"repository": {
"type": "git",
"url": "https://github.com/marp-team/marpit-svg-polyfill"
},
"main": "lib/polyfill.js",
"module": "lib/polyfill.mjs",
"types": "types/entry.d.ts",
"files": [
"lib/",
"types/"
],
"engines": {
"node": ">=10"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{j,t}s"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
".*\\.d\\.ts"
],
"coverageThreshold": {
"global": {
"lines": 95
}
},
"preset": "ts-jest",
"restoreMocks": true,
"testEnvironment": "jest-environment-jsdom",
"testEnvironmentOptions": {
"resources": "usable"
},
"testMatch": [
"<rootDir>/test/**/!(@(.|_))*.[jt]s"
]
},
"prettier": {
"semi": false,
"singleQuote": true
},
"scripts": {
"build": "yarn -s clean && rollup -c",
"check:audit": "yarn audit",
"check:format": "yarn -s format -c",
"check:ts": "tsc --noEmit",
"clean": "rimraf lib",
"format": "prettier \"**/*.{css,js,json,md,scss,ts,yaml,yml}\"",
"format:write": "yarn -s format --write",
"lint:js": "eslint --ext .js,.mjs,.ts --report-unused-disable-directives --cache .",
"prepack": "npm-run-all --parallel check:* lint:* test:coverage --parallel build types",
"preversion": "run-p check:* lint:* test:coverage",
"test": "jest",
"test:coverage": "jest --coverage",
"types": "rimraf types && tsc --declaration --emitDeclarationOnly --outDir types",
"version": "curl https://raw.githubusercontent.com/marp-team/actions/v1/lib/scripts/version.js | node && git add -A CHANGELOG.md",
"watch": "rollup -w -c"
},
"devDependencies": {
"@babel/eslint-parser": "^7.19.1",
"@babel/plugin-syntax-import-assertions": "^7.20.0",
"@marp-team/marpit": "^2.4.2",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^11.0.0",
"@tsconfig/node10": "^1.0.9",
"@types/jest": "^29.4.0",
"@types/node": "^18.11.19",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"canvas": "^2.11.0",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"jest": "^29.4.1",
"jest-environment-jsdom": "^29.4.1",
"jest-junit": "^15.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.3",
"rimraf": "^4.1.2",
"rollup": "^3.14.0",
"rollup-plugin-terser": "^7.0.2",
"ts-jest": "29.0.5",
"tslib": "^2.5.0",
"typescript": "^4.9.5"
},
"peerDependencies": {
"@marp-team/marpit": ">=0.5.0"
},
"peerDependenciesMeta": {
"@marp-team/marpit": {
"optional": true
}
},
"publishConfig": {
"access": "public"
}
}