forked from GervinFung/react-unix-terminal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
91 lines (91 loc) · 3.52 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
{
"name": "react-unix-terminal",
"version": "1.0.2",
"license": "MIT",
"main": "build/cjs/ReactUnixTerminal.js",
"module": "build/mjs/ReactUnixTerminal.js",
"types": "build/dts/ReactUnixTerminal.d.ts",
"react-native": "build/mjs/ReactUnixTerminal.js",
"exports": {
"./package.json": "./package.json",
"./build/style.css": "./build/style.css",
"./dist/style.css": "./build/style.css",
".": {
"require": "./build/cjs/ReactUnixTerminal.js",
"import": "./build/mjs/ReactUnixTerminal.js",
"default": "./build/mjs/ReactUnixTerminal.js",
"types": "./build/dts/ReactUnixTerminal.d.ts"
}
},
"files": [
"build"
],
"keywords": [
"react terminal",
"terminal",
"web terminal",
"web unix",
"react unix terminal",
"react-terminal"
],
"scripts": {
"installation": "pnpm i --frozen-lockfile && cd server && pnpm installation",
"typecheck": "tsc -p tsconfig.json",
"typecheck-watch": "pnpm typecheck --w",
"serve": "node server",
"start": "(trap 'kill 0' INT; pnpm serve & pnpm build-local & pnpm typecheck-watch)",
"transpile": "node script/esbuild.js && cd build/ && cp index.html 200.html && cd ../",
"copy-css-deno": "cp -r public/style.css dist/",
"copy-css-node": "cp -r public/style.css build/",
"build-mjs": "tsc -p tsconfig.mjs.json && ts-add-js-extension add --dir=build/mjs",
"build-cjs": "tsc -p tsconfig.cjs.json",
"build-dts": "tsc -p tsconfig.dts.json",
"build-deno": "denoify && pnpm copy-css-deno && rm -rf dist/index.tsx",
"build-local": "rm -rf build-local && cp -R public build-local && pnpm transpile",
"build": "rm -rf build dist && pnpm build-dts && pnpm build-cjs && pnpm build-mjs && node-package-helper && pnpm build-deno && pnpm copy-css-node",
"test": "vitest",
"lint": "eslint src/ test/ -f='stylish' --color",
"format": "prettier --ignore-path .gitignore --write src/ test/",
"format-check": "prettier --ignore-path .gitignore --check src/ test/",
"all": "pnpm typecheck && pnpm format && pnpm lint && pnpm test && pnpm build-prod"
},
"dependencies": {
"html-react-parser": "^3.0.4",
"parse-dont-validate": "^4.0.1",
"remove": "^0.1.5",
"sanitize-html": "^2.7.3"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"devDependencies": {
"@poolofdeath20/eslint-config": "^0.0.1",
"@types/node": "^18.11.7",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"@types/sanitize-html": "^2.6.2",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"cases-of-test": "^0.1.0",
"denoify": "^1.4.1",
"esbuild": "^0.15.12",
"eslint": "^8.26.0",
"eslint-plugin-react": "^7.31.10",
"node-package-helper": "github:Packer-Man/node-package-helper",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-add-js-extension": "^1.3.2",
"typescript": "^4.8.4",
"vitest": "^0.24.3"
},
"repository": {
"type": "git",
"url": "https://github.com/P-YNPM/react-unix-terminal"
},
"bugs": {
"url": "https://github.com/P-YNPM/react-unix-terminal/issues"
},
"homepage": "https://github.com/P-YNPM/react-unix-terminal#readme"
}