-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.54 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 2.54 KB
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
{
"name": "vite-plugin-chatgpt-widgets",
"version": "0.0.10",
"files": [
"Readme.md",
"dist/**/*"
],
"license": "MIT",
"repository": "github:gadget-inc/vite-plugin-chatgpt-widgets",
"homepage": "https://github.com/gadget-inc/vite-plugin-chatgpt-widgets",
"type": "module",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"./package.json": "./package.json"
},
"source": "src/index.ts",
"main": "dist/cjs/index.js",
"sideEffects": false,
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit && pnpm -r --filter './spec/fixtures/*' typecheck",
"build": "rm -rf dist && mkdir -p dist/cjs dist/esm && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json && echo '{\"type\": \"module\"}' > dist/esm/package.json && tsc -b tsconfig.cjs.json tsconfig.esm.json",
"watch": "tsc --watch --preserveWatchOutput",
"prepublishOnly": "pnpm build",
"prerelease": "gitpkg publish",
"debug:widget": "node debug-widget.mjs",
"debug:react-router": "node debug-widget.mjs test-project-react-router SimpleWidget",
"debug:plain-react": "node debug-widget.mjs test-project-plain-react CounterWidget",
"lint": "pnpm lint:prettier && pnpm lint:eslint",
"lint:prettier": "NODE_OPTIONS=\"--max-old-space-size=4096\" prettier --check \"(src|spec)/**/*.{js,ts,tsx}\"",
"lint:prettier:fix": "NODE_OPTIONS=\"--max-old-space-size=4096\" prettier --write --check \"(src|spec)/**/*.{js,ts,tsx}\"",
"lint:eslint": "NODE_OPTIONS=\"--max-old-space-size=4096\" eslint --quiet --ext ts,tsx src spec",
"lint:fix": "NODE_OPTIONS=\"--max-old-space-size=4096\" prettier --write --check \"(src|spec)/**/*.{js,ts,tsx}\" && eslint --ext ts,tsx --fix src spec"
},
"dependencies": {
"tslib": "^2.8.1"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.1",
"@gadgetinc/eslint-config": "^0.6.1",
"@gadgetinc/prettier-config": "^0.4.0",
"@types/node": "^22.13.14",
"conditional-type-checks": "^1.0.6",
"eslint": "^8.57.0",
"execa": "^5.1.1",
"gitpkg": "github:airhorns/gitpkg#gitpkg-v1.0.0-beta.4-gitpkg-82083c3",
"playwright": "1.54.1",
"prettier": "^2.8.8",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"typescript": "^5.8.5",
"vite": "^6.3.2",
"vitest": "^3.2.4"
},
"packageManager": "pnpm@9.11.0+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b"
}