-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
85 lines (85 loc) · 2.81 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
{
"name": "mock-block-dock",
"version": "0.0.25",
"description": "A mock embedding application for Block Protocol blocks",
"keywords": [
"blockprotocol",
"blocks"
],
"homepage": "https://blockprotocol.org",
"repository": {
"type": "git",
"url": "git@github.com:blockprotocol/blockprotocol.git",
"directory": "packages/mock-block-dock"
},
"license": "MIT",
"author": {
"name": "HASH",
"url": "https://hash.ai"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "yarn clean && yarn build:cjs && yarn build:esm && yarn copy-files",
"build:cjs": "tsc --project tsconfig.build.cjs.json",
"build:dev": "yarn clean && cross-env NODE_ENV=development webpack --mode development",
"build:esm": "tsc --project tsconfig.build.esm.json",
"clean": "rimraf ./dist/",
"codegen": "node -p \"'export const MOCK_BLOCK_DOCK_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"copy-files": "yarn copy-files:cjs && yarn copy-files:esm",
"copy-files:cjs": "copyfiles -u 1 ./src/assets/* dist/cjs/",
"copy-files:esm": "copyfiles -u 1 ./src/assets/* dist/esm/",
"dev": "concurrently -n webpack,webpack-dev-server -c green,cyan \"yarn build:dev --watch\" \"yarn run-dev-server\"",
"lint:tsc": "tsc --noEmit",
"run-dev-server": "cross-env NODE_ENV=development webpack-dev-server --config dev/webpack.config.js"
},
"dependencies": {
"@blockprotocol/core": "0.0.11",
"@blockprotocol/graph": "0.0.15",
"@emotion/react": "^11.10.0",
"@emotion/styled": "^11.10.0",
"@lit-labs/react": "^1.0.4",
"@mui/material": "^5.10.1",
"ajv": "^8.9.0",
"react-json-view": "^1.21.3",
"react-resizable": "^3.0.4",
"use-local-storage-state": "^18.1.1",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.9",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "7.16.7",
"@babel/runtime": "^7.17.9",
"@local/tsconfig": "0.0.0-private",
"@types/react-resizable": "^3.0.2",
"babel-loader": "^8.2.4",
"concurrently": "^7.0.0",
"copyfiles": "^2.4.1",
"core-js": "^3.21.1",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"html-webpack-plugin": "^5.5.0",
"lit": "^2.2.5",
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.2",
"typescript": "4.8.2",
"webpack": "^5.74.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.8.1"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
}
}