-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.6 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
{
"name": "honkit-plugin-sandpack",
"version": "1.4.0",
"homepage": "https://github.com/honkit/honkit-plugin-sandpack",
"bugs": {
"url": "https://github.com/honkit/honkit-plugin-sandpack/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/honkit/honkit-plugin-sandpack.git"
},
"license": "MIT",
"author": "azu",
"main": "index.js",
"files": [
"./index.js",
"lib/",
"assets/"
],
"engines": {
"honkit": "*"
},
"scripts": {
"build": "npm run build:assert && npm run build:lib",
"build:assert": "esbuild src/sandpack.tsx --target=es2015 --bundle --minify --sourcemap --outfile=assets/honkit-plugin-sandpack.js",
"build:lib": "tsc -p .",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks",
"prepublishOnly": "npm run build",
"watch": "tsc -p . --watch",
"test": "npm run build",
"website": "yarn run build && (cd public && yarn install && yarn webstie)"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120,
"singleQuote": false,
"tabWidth": 4,
"trailingComma": "none"
},
"devDependencies": {
"@codesandbox/sandpack-client": "^1.12.1",
"@codesandbox/sandpack-react": "^1.17.0",
"@types/node": "^18.11.9",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"esbuild": "^0.15.13",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^4.8.4"
},
"dependencies": {}
}