-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
40 lines (40 loc) · 1.2 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
{
"name": "@vanillawc/wc-codemirror",
"version": "2.1.0",
"license": "MIT",
"author": "Evan Plaice <[email protected]> (https://evanplaice.com/)",
"description": "CodeMirror as a vanilla web component",
"keywords": [
"web-components",
"vanilla",
"editor",
"codemirror"
],
"repository": "https://github.com/vanillawc/wc-codemirror/",
"main": "index.js",
"type": "module",
"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-codemirror.js index.js",
"build:min": "esmtk minify src/wc-codemirror.js index.min.js",
"copy": "npm run copy:themes && npm run copy:modes",
"copy:themes": "cp -r ./node_modules/codemirror/theme/* ./theme/",
"copy:modes": "cp -r ./node_modules/codemirror/mode/* ./mode/",
"package": "npx rimraf package && npm pack | tail -n 1 | xargs tar -xf",
"preversion": "npm run lint",
"postversion": "git push --follow-tags"
},
"devDependencies": {
"codemirror": "^5.61.0",
"esmtk": "^0.5.6"
},
"standard": {
"ignore": [
"dev/*",
"mode/*",
"index.js"
]
}
}