-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
52 lines (52 loc) · 1.71 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
{
"name": "markwright",
"version": "0.8.0",
"description": "Markdown typesetting component for React.",
"module": "dist/markwright.mjs",
"main": "src/markwright.js",
"types": "types/index.d.ts",
"author": "Noah Lange <noahrlange@gmail.com>",
"license": "MIT",
"scripts": {
"start": "vite",
"dist": "npm run build:cjs; npm run build:esm",
"build:cjs": "esbuild src/index.ts --format=cjs --external:react --external:simple-markdown --minify --bundle --outfile=\"dist/markwright.js\"",
"build:esm": "esbuild src/index.ts --format=esm --external:react --external:simple-markdown --minify --bundle --outfile=\"dist/markwright.mjs\"",
"docs": "vite build",
"dev:lint": "eslint --fix './src/**/*.{ts,tsx}'",
"dev:pretty": "prettier --write 'src/**/*'",
"dev:types": "tsc --emitDeclarationOnly",
"dev:test": "jest"
},
"devDependencies": {
"@jest/globals": "^28.1.3",
"@types/jest": "^28.1.6",
"@types/node": "^18.6.5",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@vitejs/plugin-react": "^2.0.0",
"esbuild": "^0.14.54",
"eslint": "^7.14.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-simple-import-sort": "^7.0.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"prettier": "^2.7.1",
"jsdom": "^20.0.0",
"sass": "^1.54.3",
"ts-jest": "^28.0.7",
"typescript": "^4.7.4",
"vite": "^3.0.4"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"dependencies": {
"simple-markdown": "^0.7.3"
}
}