-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.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
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
{
"name": "@microbit/makecode-embed",
"version": "0.0.0",
"description": "",
"keywords": [],
"type": "module",
"sideEffects": false,
"author": "Matt Hillsdon <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/microbit-foundation/makecode-embed"
},
"engines": {
"node": ">=20",
"npm": ">=10"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"typings": "./dist/esm/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./vanilla": {
"import": {
"types": "./dist/esm/vanilla/index.d.ts",
"default": "./dist/esm/vanilla/index.js"
},
"require": {
"types": "./dist/cjs/vanilla/index.d.ts",
"default": "./dist/cjs/vanilla/index.js"
}
},
"./react": {
"import": {
"types": "./dist/esm/react/index.d.ts",
"default": "./dist/esm/react/index.js"
},
"require": {
"types": "./dist/cjs/react/index.d.ts",
"default": "./dist/cjs/react/index.js"
}
}
},
"scripts": {
"dev": "vite",
"build:esm": "tsc -p tsconfig.json && echo '{\"type\": \"module\"}' > dist/esm/package.json",
"build:cjs": "tsc -p tsconfig.cjs.json && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
"build": "npm run build:esm && npm run build:cjs",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"ci": "npm run lint && npm run build && npm run build:storybook",
"storybook": "storybook dev -p 6006",
"build:storybook": "storybook build",
"docs": "typedoc"
},
"peerDependencies": {
"react": ">=17.0.2",
"react-dom": ">=17.0.2"
},
"dependencies": {
"tslib": ">=2.0.0"
},
"devDependencies": {
"@chromatic-com/storybook": "^1.9.0",
"@storybook/addon-essentials": "^8.2.9",
"@storybook/addon-interactions": "^8.2.9",
"@storybook/addon-links": "^8.2.9",
"@storybook/blocks": "^8.2.9",
"@storybook/react": "^8.2.9",
"@storybook/react-vite": "^8.2.9",
"@storybook/test": "^8.2.9",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"eslint-plugin-storybook": "^0.8.0",
"prettier": "^3.2.5",
"storybook": "^8.2.9",
"tslib": "^2.6.2",
"typedoc": "^0.27.6",
"typescript": "^5.2.2"
}
}