generated from githubnext/blocks-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.57 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": "custom-block-template",
"version": "0.0.0",
"watch": {
"build-blocks": {
"patterns": [
"src"
],
"extensions": "js,jsx,ts,tsx,css"
}
},
"scripts": {
"watch": "npm-watch",
"dev": "concurrently --kill-others \"npm run local\" \"npm run watch\"",
"local": "vite --port 4000",
"build": "tsc && vite build",
"build-blocks": "node ./build.ts",
"serve": "vite preview"
},
"blocks": [
{
"type": "file",
"id": "csv-to-json",
"title": "Csv to Json converter",
"description": "A simple block to convert csv files to json",
"entry": "/src/blocks/csv-to-json/index.tsx",
"extensions": [
"csv"
],
"example_path": "https://github.com/githubnext/blocks-tutorial/blob/main/data.csv"
}
],
"dependencies": {
"@codesandbox/sandpack-react": "^0.13.13",
"@githubnext/utils": "^0.15.2",
"@loadable/component": "^5.15.0",
"@octokit/rest": "^18.12.0",
"@types/lodash.uniqueid": "^4.0.6",
"git-url-parse": "^11.6.0",
"lodash.uniqueid": "^4.0.1",
"parse-static-imports": "^1.1.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"react-error-boundary": "^3.1.4",
"react-query": "^3.32.3"
},
"devDependencies": {
"@types/git-url-parse": "^9.0.1",
"@types/parse-github-url": "^1.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@vitejs/plugin-react": "^1.0.0",
"concurrently": "^6.4.0",
"esbuild": "^0.13.14",
"npm-watch": "^0.11.0",
"typescript": "^4.3.2",
"vite": "^2.6.4"
}
}