-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.02 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.02 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
62
63
64
65
66
67
{
"name": "scribejs-editor",
"version": "1.0.1",
"description": "Lightweight, plugin-first rich text editor core with a fixed toolbar demo and typed API.",
"license": "BSD-3-Clause",
"type": "module",
"author": "devfuture",
"repository": {
"type": "git",
"url": "https://github.com/GoodPHP/scribejs"
},
"keywords": [
"editor",
"rich-text",
"rich-text-editor",
"wysiwyg",
"wysiwyg-editor",
"contenteditable",
"html-editor",
"text-editor",
"document-editor",
"toolbar",
"plugin",
"plugins",
"sanitize",
"sanitize-html",
"selection",
"typescript",
"browser",
"scribe"
],
"sideEffects": false,
"main": "dist/index.js",
"module": "dist/index.js",
"types": "src/types/index.d.ts",
"exports": {
".": {
"types": "./src/types/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"public",
"src",
"LICENSE",
"README.md"
],
"scripts": {
"clean": "rm -rf dist src/types node_modules",
"build:bundle": "esbuild src/index.ts --bundle --format=esm --platform=browser --minify --banner:js=\"/* $npm_package_name v$npm_package_version */\" --outfile=dist/index.js",
"build": "npm run build:bundle",
"start": "node -e \"const port=process.env.PORT||3000; console.log('Dev server URL: http://localhost:' + port + '/');\" && run-p start:*",
"start:bundle": "esbuild src/index.ts --bundle --format=esm --platform=browser --banner:js=\"/* $npm_package_name v$npm_package_version */\" --outfile=dist/index.js --watch",
"start:types": "tsc -w -p tsconfig.json",
"start:server": "node ./scripts/dev-server.mjs",
"start:open": "node --input-type=module -e \"import open from 'open'; const port=process.env.PORT||3000; setTimeout(() => open('http://localhost:' + port + '/'), 500);\"",
"dev": "npm run start",
"prepublishOnly": "npm run build"
},
"devDependencies": {
"esbuild": "^0.25.0",
"npm-run-all": "^4.1.5",
"open": "^9.1.0",
"typescript": "^5.5.4"
}
}