-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
107 lines (107 loc) · 3.7 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
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "@codesandbox/sdk",
"version": "0.8.0",
"description": "The CodeSandbox SDK",
"author": "CodeSandbox",
"license": "MIT",
"repository": "git+https://github.com/codesandbox/codesandbox-sdk.git",
"type": "module",
"bin": {
"csb": "dist/bin/codesandbox.cjs"
},
"module": "./dist/esm/index.js",
"main": "./dist/esm/index.js",
"private": false,
"publishConfig": {
"@codesandbox:registry": "https://registry.npmjs.org"
},
"exports": {
".": {
"types": "./dist/esm/index.d.ts",
"edge-light": {
"import": "./dist/esm/index.edge.js",
"require": "./dist/cjs/index.edge.cjs",
"default": "./dist/cjs/index.edge.cjs"
},
"worker": {
"import": "./dist/esm/index.edge.js",
"require": "./dist/cjs/index.edge.js",
"default": "./dist/cjs/index.edge.js"
},
"workerd": {
"import": "./dist/esm/index.edge.js",
"require": "./dist/cjs/index.edge.js",
"default": "./dist/cjs/index.edge.js"
},
"browser": {
"import": "./dist/esm/index.edge.js",
"require": "./dist/cjs/index.edge.js",
"default": "./dist/cjs/index.edge.js"
},
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs",
"default": "./dist/cjs/index.cjs"
},
"./browser": {
"types": "./dist/esm/browser.d.ts",
"import": "./dist/esm/browser.js",
"require": "./dist/cjs/browser.cjs",
"default": "./dist/cjs/browser.cjs"
}
},
"types": "./dist/esm/index.d.ts",
"scripts": {
"build": "npm run clean && npm run build:esbuild && npm run build:cjs:types && npm run build:esm:types && chmod +x dist/bin/codesandbox.cjs",
"build:cjs": "tsc -p ./tsconfig.build-cjs.json",
"build:esm": "tsc -p ./tsconfig.build-esm.json",
"build:esbuild": "node esbuild.cjs",
"build:cjs:types": "tsc -p ./tsconfig.build-cjs.json --emitDeclarationOnly",
"build:esm:types": "tsc -p ./tsconfig.build-esm.json --emitDeclarationOnly",
"build-openapi": "rimraf src/client && curl -o openapi.json https://api.codesandbox.io/meta/openapi && npx prettier --write ./openapi.json && node_modules/.bin/openapi-ts -i ./openapi.json -o src/client -c @hey-api/client-fetch",
"build-openapi:staging": "rimraf src/client && curl -o openapi.json https://api.codesandbox.stream/meta/openapi && npx prettier --write ./openapi.json && node_modules/.bin/openapi-ts -i ./openapi.json -o src/client -c @hey-api/client-fetch",
"clean": "rimraf ./dist",
"typecheck": "tsc --noEmit",
"format": "prettier '**/*.{md,js,jsx,json,ts,tsx}' --write",
"postbuild": "rimraf {lib,es}/**/__tests__ {lib,es}/**/*.{spec,test}.{js,d.ts,js.map}",
"postversion": "git push && git push --tags",
"prepublish": "npm run build"
},
"keywords": [
"typescript",
"react",
"api"
],
"files": [
"dist",
"README.md"
],
"devDependencies": {
"@codesandbox/pitcher-client": "1.1.5",
"@codesandbox/pitcher-common": "0.360.2",
"@codesandbox/pitcher-protocol": "0.360.4",
"@hey-api/client-fetch": "^0.7.3",
"@hey-api/openapi-ts": "^0.63.2",
"@types/blessed": "^0.1.25",
"@types/yargs": "^17.0.33",
"blessed": "^0.1.81",
"blessed-contrib": "^4.11.0",
"buffer-browserify": "^0.2.5",
"cli-table3": "^0.6.3",
"crypto-browserify": "^3.12.1",
"esbuild": "^0.25.0",
"ignore": "^6.0.2",
"isbinaryfile": "^5.0.4",
"ora": "7.0.1",
"os-browserify": "^0.3.0",
"path-browserify": "^1.0.1",
"prettier": "^2.2.1",
"rimraf": "^6.0.1",
"semver": "^6.3.0",
"tslib": "^2.1.0",
"typescript": "^5.7.2",
"util": "0.12.5",
"why-is-node-running": "^2.3.0",
"yargs": "^17.7.2"
},
"dependencies": {}
}