-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 3.6 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
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"license": "MIT",
"name": "vscode-html-preview",
"scripts": {
"dev": "tsc -b -w",
"clean": "rimraf dist",
"package": "npm run clean && cd packages/injected-code && npm run build && cd ../../ && cd packages/extension && npm run build && cd ../../ && node scripts/package.js && npm run bundlesize",
"postinstall": "lerna bootstrap --ci",
"generate:diffTests": "cd packages/virtual-dom && npm run generate:diffTests",
"generate:watch:diffTests": "cd packages/virtual-dom && npm run generate:watch:diffTests",
"generate:watch:parseTests": "cd packages/virtual-dom && npm run generate:watch:parseTests",
"test": "cd packages/virtual-dom && npm test",
"bundlesize": "bundlesize",
"update-highlight-css": "postcss packages/injected-code/src/plugins/remote-plugin-highlight/highlight-service/highlight.css --no-map --output packages/injected-code/src/plugins/remote-plugin-highlight/highlight-service/highlight.min.css && node scripts/update-highlight-css",
"e2e": "cd packages/extension-test && npm run e2e",
"autoreload": "nodemon --watch **/dist/** --exec node scripts/update-extension-new.js",
"kill-whatever-is-on-port-3000": "fuser -k -TERM -n tcp 3000",
"generate:website": "node scripts/generate-website",
"test:samples": "cd packages && cd sample-code-mirror && npm run e2e && cd .. && cd sample-minimal && npm run e2e && cd .. && cd sample-web-worker && npm run e2e && cd .. && cd sample-monaco && npm run e2e",
"build:samples": "cd packages && cd sample-code-mirror && npm run build && cd .. && cd sample-minimal && npm run build && cd .. && cd sample-web-worker && npm run build && cd .. && cd sample-monaco && npm run build"
},
"devDependencies": {
"@babel/core": "^7.20.7",
"@babel/node": "^7.20.7",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-typescript": "^10.0.1",
"@types/fs-extra": "^8.1.0",
"@types/lodash": "^4.14.191",
"autoprefixer": "^10.4.13",
"babel-preset-latest-node": "^5.5.1",
"bundlesize": "^0.18.1",
"circular-dependency-plugin": "^5.2.2",
"copy-webpack-plugin": "^11.0.0",
"cssnano": "^5.1.14",
"fs-extra": "^11.1.0",
"jsonschema": "^1.2.6",
"lerna": "^6.3.0",
"lodash": "^4.17.21",
"postcss": "^8.4.20",
"postcss-cli": "^10.1.0",
"prettier": "^2.0.5",
"really-relaxed-json": "^0.2.24",
"rimraf": "^3.0.2",
"rollup": "^3.9.0",
"start-server-and-test": "^1.11.0",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"eslintIgnore": [
"*.ts",
"*.html",
"*.md",
"*.generated.test.js",
"serveStaticOriginal.js",
"dist",
"e2e"
],
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid",
"printWidth": 100
},
"wallaby": {
"files": [
"src/**/*.js",
"!src/**/*test.js"
],
"tests": [
"src/**/*test.js"
],
"env": {
"type": "node",
"runner": "node"
},
"testFramework": "jest"
},
"quokka": {
"ignoreExternalFileChanges": true
},
"browserslist": [
"last 1 version",
"> 1%",
"IE 10"
],
"postcss": {
"plugins": {
"autoprefixer": {},
"cssnano": {}
}
},
"bundlesize": [
{
"path": "./dist/packages/extension/dist/extensionMain.js",
"maxSize": "350.0 kB",
"compression": "none"
},
{
"path": "./dist/packages/injected-code/dist/html-preview.js",
"maxSize": "35 kB",
"compression": "none"
}
]
}