-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
41 lines (41 loc) · 1.33 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
{
"name": "@vanillawc/wc-monaco-editor",
"version": "1.10.15",
"license": "MIT",
"author": "Evan Plaice <[email protected]> (https://evanplaice.com/)",
"description": "A vanilla Monaco Editor web component",
"keywords": [
"web-components",
"vanilla",
"editor",
"monaco"
],
"repository": "https://github.com/vanillawc/wc-monaco-editor/",
"main": "index.js",
"scripts": {
"start": "npx live-server --no-browser --port=5500 --open=dev",
"lint": "esmtk lint",
"build": "npm run build:esm && npm run build:min",
"build:esm": "esmtk bundle src/wc-monaco-editor.js index.js",
"build:min": "esmtk minify src/wc-monaco-editor.js index.min.js",
"copy": "npm run copy:editor && npm run copy:font && npm run copy:workers",
"copy:editor": "cp node_modules/monaco-editor-es/editor.main.js monaco/",
"copy:font": "cp node_modules/monaco-editor-es/*.ttf monaco/",
"copy:workers": "cp -r node_modules/monaco-editor-es/workers/* monaco/workers/",
"package": "npx rimraf package && npm pack | tail -n 1 | xargs tar -xf",
"preversion": "npm run lint",
"postversion": "git push --follow-tags"
},
"devDependencies": {
"esmtk": "^0.5.6",
"monaco-editor-es": "^0.30.1"
},
"standard": {
"ignore": [
"demo/*",
"dev/*",
"**/monaco/*",
"index.js"
]
}
}