-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
96 lines (96 loc) · 3.18 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
{
"name": "code-edit",
"author": "stagas",
"short": "stagas/code-edit",
"description": "Lightweight code editor Web Component with syntax highlighting",
"version": "4.1.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://git@github.com:stagas/code-edit.git"
},
"keywords": [
"code",
"editor",
"html",
"syntax-highlight",
"web-component",
"custom-element"
],
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist",
"!**/*.tsbuildinfo"
],
"scripts": {
"start:web": "devito example/web",
"start:web:debugging": "devito example/web --debugging-this",
"start:node": "onchange -i src example -- swcno example/node.ts",
"build:watch": "fastpm autolink && tsc -p tsconfig.dist.json --outDir dist/types --watch & swc -w -C module.type=commonjs ./src -d dist/cjs -w & swc -w -C module.type=es6 ./src -d dist/esm",
"build:dist": "npm run build:bundle && npm run build:min",
"cov:watch": "utr --coverage --watch",
"clean": "rimraf dist",
"docs": "dokio -o README.md && dprint fmt README.md",
"test": "utr",
"cov": "utr --coverage",
"build": "npm run build:cjs & npm run build:esm & npm run build:types && echo done.",
"build:cjs": "swc -C module.type=commonjs ./src -d dist/cjs",
"build:esm": "swc -C module.type=es6 ./src -d dist/esm && echo '{\"type\":\"module\"}' >dist/esm/package.json",
"build:types": "tsc -p tsconfig.dist.json --outDir dist/types",
"build:bundle": "bunzee src/index.ts \"dist/$(cat package.json | jq -r '.name').js\"",
"build:min": "bunzee -m src/index.ts \"dist/$(cat package.json | jq -r '.name').min.js\"",
"lint": "eslint src && dprint check",
"lint:fix": "eslint --fix src && dprint fmt",
"prepack": "npm run clean && npm run build && (npm run build:dist || echo unable to bundle)",
"prepack:dry": "npm pack --dry-run",
"prepush": "npm run lint && npm run test",
"prepare": "husky install"
},
"devDependencies": {
"@n1kk/intspector": "1.0.2",
"@swc/cli": "0.1.57",
"@swc/core": "1.2.218",
"@tsconfig/node16": "1.0.3",
"@types/audioworklet": "0.0.30",
"@types/jest": "27.5.2",
"@types/node": "17.0.45",
"@types/webmidi": "2.0.6",
"@typescript-eslint/eslint-plugin": "5.31.0",
"@typescript-eslint/parser": "5.31.0",
"bunzee": "^1.0.0",
"chokidar": "3.5.3",
"devito": "^2.0.0",
"dokio": "^1.1.0",
"dprint": "0.30.3",
"eslint": "8.20.0",
"eslint-config-html-jsx": "^1.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-react": "7.30.1",
"fpick": "^1.1.0",
"husky": "7.0.4",
"onchange": "7.1.0",
"plenty-themes": "^1.1.1",
"pull-configs": "^1.0.0",
"rimraf": "3.0.2",
"scoped-registries": "^0.2.0",
"swcno": "0.1.1",
"typescript": "4.7.3",
"utr": "^1.3.1"
},
"dependencies": {
"code-syntax": "^4.0.0",
"get-element-offset": "^1.0.1",
"relative-mouse": "^1.0.1",
"sigl": "^1.0.2",
"super-impose": "^4.0.0",
"textarea-code": "^4.0.1"
},
"types": "./dist/types/index.d.ts"
}