forked from HenrikJoreteg/html-parse-stringify
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.08 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 2.08 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
{
"name": "html-parse-stringify",
"description": "Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.",
"version": "4.0.1",
"author": "Henrik Joreteg <henrik@joreteg.com>",
"contributors": [
"Adriano Raiano <adriano@raiano.ch>"
],
"license": "MIT",
"homepage": "https://github.com/i18next/html-parse-stringify",
"repository": {
"type": "git",
"url": "git+https://github.com/i18next/html-parse-stringify.git"
},
"bugs": {
"url": "https://github.com/i18next/html-parse-stringify/issues"
},
"funding": "https://locize.com",
"keywords": [
"ast",
"html",
"parse",
"stringify"
],
"main": "./dist/cjs/html-parse-stringify.js",
"module": "./dist/esm/html-parse-stringify.js",
"types": "./index.d.ts",
"unpkg": "./dist/umd/html-parse-stringify.min.js",
"source": "src/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": {
"types": "./index.d.mts",
"default": "./dist/esm/html-parse-stringify.js"
},
"require": {
"types": "./index.d.ts",
"default": "./dist/cjs/html-parse-stringify.js"
}
}
},
"files": [
"dist",
"index.d.ts",
"index.d.mts"
],
"scripts": {
"lint": "eslint src test",
"format": "prettier \"{src,test}/**/*.js\" \"*.{json,md,mjs}\" --check",
"format:fix": "prettier \"{src,test}/**/*.js\" \"*.{json,md,mjs}\" --write",
"test": "vitest --run",
"build": "rimraf dist && rollup -c && node -e \"require('fs').writeFileSync('dist/esm/package.json', JSON.stringify({ type: 'module' }))\"",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"preversion": "npm run lint && npm run test && npm run build && git push",
"postversion": "git push && git push --tags"
},
"prettier": {
"arrowParens": "avoid",
"singleQuote": true,
"semi": false
},
"devDependencies": {
"@rollup/plugin-terser": "1.0.0",
"eslint": "9.39.5",
"neostandard": "0.13.0",
"prettier": "3.9.6",
"rimraf": "6.1.3",
"rollup": "4.62.2",
"vitest": "4.1.10"
}
}