-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
54 lines (54 loc) · 1.72 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
{
"name": "dom-to-html",
"version": "1.0.0",
"description": "Convert a dom element including canvas and svg to an html",
"main": "./lib/index.js",
"module": "./lib-esm/index.js",
"types": "./lib/index.d.ts",
"keywords": [],
"author": "Luc Patiny",
"license": "MIT",
"files": [
"src",
"lib",
"lib-esm"
],
"scripts": {
"check-types": "tsc --noEmit",
"clean": "rimraf lib lib-esm",
"eslint": "eslint src --cache",
"eslint-fix": "npm run eslint -- --fix",
"playwright": "playwright test -c playwright.config.ts",
"playwright-update": "npm run playwright -- --update-snapshots",
"prepack": "npm run tsc",
"prettier": "prettier --check src",
"prettier-write": "prettier --write src",
"test": "npm run test-only && npm run eslint && npm run prettier && npm run check-types",
"test-only": "npm run playwright",
"tsc": "npm run clean && npm run tsc-cjs && npm run tsc-esm",
"tsc-cjs": "tsc --project tsconfig.cjs.json",
"tsc-esm": "tsc --project tsconfig.esm.json"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zakodium-oss/dom-to-html.git"
},
"bugs": {
"url": "https://github.com/zakodium-oss/dom-to-html/issues"
},
"homepage": "https://github.com/zakodium-oss/dom-to-html#readme",
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@playwright/experimental-ct-react": "^1.26.1",
"@playwright/test": "^1.26.1",
"@types/react": "^18.0.21",
"eslint": "^8.24.0",
"eslint-config-cheminfo-typescript": "^11.1.0",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"typescript": "^4.8.4"
}
}