/
package.json
143 lines (143 loc) 路 3.47 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"name": "starkdown",
"sideEffects": false,
"type": "module",
"version": "3.2.9",
"description": "Tiny <3kb Markdown parser written, almost as fast and smart as Tony Stark",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"module": "./dist/index.js",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/cjs/index.d.cts",
"default": "./dist/cjs/index.cjs"
}
},
"./parsers": {
"import": {
"types": "./dist/parsers.d.ts",
"default": "./dist/parsers.js"
},
"require": {
"types": "./dist/cjs/parsers.d.cts",
"default": "./dist/cjs/parsers.cjs"
}
}
},
"engines": {
"node": ">=16"
},
"files": [
"dist"
],
"scripts": {
"build": "rollup -c ./rollup.config.js",
"build:docs": "typedoc",
"lint": "tsc --noEmit && eslint ./src --ext .ts",
"test": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest",
"prettier:fix-all": "prettier --write \"{src,test}/**/*.ts\" \"*.{md,json}\"",
"release": "npm run lint && del dist && npm run build && np"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.6",
"@typescript-eslint/parser": "^5.59.6",
"@vitest/ui": "^0.31.0",
"del-cli": "^5.0.0",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-tree-shaking": "^1.10.0",
"np": "^7.7.0",
"prettier": "^2.8.8",
"prettier-plugin-jsdoc": "^0.4.2",
"prettier-plugin-organize-imports": "^3.2.2",
"rollup": "^3.23.0",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-esbuild": "^5.0.0",
"typedoc": "^0.24.8",
"typescript": "^5.0.4",
"vitest": "^0.31.0"
},
"authors": [
"Jason Miller <[email protected]>",
"Luca Ban - Mesqueeb"
],
"funding": "https://github.com/sponsors/mesqueeb",
"homepage": "https://github.com/cycraft/starkdown#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/cycraft/starkdown.git"
},
"bugs": {
"url": "https://github.com/cycraft/starkdown/issues"
},
"license": "MIT",
"keywords": [
"markdown",
"snarkdown",
"starkdown",
"markdown-it",
"gfm",
"md",
"html",
"parser"
],
"np": {
"branch": "production",
"publish": false,
"yarn": false
},
"typedocOptions": {
"entryPoints": [
"src/index.ts"
],
"out": "docs/dist",
"skipErrorChecking": true
},
"prettier": {
"printWidth": 100,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "es5",
"semi": false,
"bracketSpacing": true,
"quoteProps": "consistent",
"plugins": [
"prettier-plugin-jsdoc"
]
},
"eslintConfig": {
"ignorePatterns": [
"node_modules",
"dist",
"scripts",
"test",
"./vite.config.ts"
],
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint",
"tree-shaking"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"tree-shaking/no-side-effects-in-initialization": "error",
"@typescript-eslint/ban-ts-comment": "off"
}
}
}