-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
71 lines (71 loc) · 2.01 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
{
"name": "jsdon",
"version": "0.2.3",
"description": "A DOM serializer based on LinkeDOM idea",
"main": "./cjs/index.js",
"scripts": {
"build": "npm run cjs && npm run rollup:es && npm run rollup:babel && npm run min && npm run test",
"cjs": "ascjs esm cjs",
"rollup:es": "rollup --config rollup/es.config.js && sed -i.bck 's/^var /self./' es.js && rm -rf es.js.bck",
"rollup:babel": "rollup --config rollup/babel.config.js && sed -i.bck 's/^var /self./' index.js && rm -rf index.js.bck",
"min": "terser index.js --comments='/^!/' -c -m -o min.js",
"test": "c8 node test/index.js",
"coverage": "mkdir -p ./coverage; c8 report --reporter=text-lcov > ./coverage/lcov.info"
},
"keywords": [
"JSON",
"DOM",
"serialization",
"compact",
"fast"
],
"author": "Andrea Giammarchi",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"ascjs": "^6.0.3",
"c8": "^8.0.1",
"css-select": "^5.1.0",
"htmlparser2": "^9.0.0",
"linkedom": "^0.16.4",
"rollup": "^4.4.1",
"terser": "^5.24.0"
},
"module": "./esm/index.js",
"type": "module",
"exports": {
".": {
"import": "./esm/index.js",
"default": "./cjs/index.js"
},
"./constants": {
"import": "./esm/constants.js",
"default": "./cjs/constants.js"
},
"./parse": {
"import": "./esm/parse.js",
"default": "./cjs/parse.js"
},
"./tree": {
"import": "./esm/as-tree.js",
"default": "./cjs/as-tree.js"
},
"./package.json": "./package.json"
},
"unpkg": "min.js",
"repository": {
"type": "git",
"url": "git+https://github.com/WebReflection/jsdon.git"
},
"bugs": {
"url": "https://github.com/WebReflection/jsdon/issues"
},
"homepage": "https://github.com/WebReflection/jsdon#readme",
"dependencies": {
"domconstants": "^1.1.6"
}
}