-
-
Notifications
You must be signed in to change notification settings - Fork 316
/
package.json
142 lines (142 loc) · 3.71 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
{
"name": "web-maker",
"version": "6.4.0",
"description": "A blazing fast & offline web playground",
"scripts": {
"start": "concurrently --kill-others \"gulp start-preview-server\" \"npm run -s dev\"",
"build": "preact build --template src/index.ejs --prerender false --no-inline-css --sw false",
"dev": "preact watch --template src/index.ejs",
"serve-website": "cd packages/website; npm start",
"build-website": "cd packages/website; npm run build",
"lint": "eslint src",
"test": "jest",
"precommit": "lint-staged",
"add-locale": "lingui add-locale",
"extract": "lingui extract",
"compile": "lingui compile",
"release:dev": "gulp devRelease",
"cypress:open": "cypress open",
"cypress": "cypress run"
},
"eslintConfig": {
"extends": "eslint-config-synacor"
},
"eslintIgnore": [
"build/*",
"src/lib/",
"src/tests/",
"src/CodeMirror.js",
"src/detached-window.js"
],
"lint-staged": {
"*.{js,jsx,json,css,md,html}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@11ty/eleventy": "^0.7.1",
"@babel/core": "^7.5.4",
"@babel/preset-react": "^7.25.9",
"@lingui/cli": "^2.8.3",
"@lingui/macro": "^2.8.3",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^7.2.3",
"babel-minify": "^0.2.0",
"babel-plugin-macros": "^2.6.1",
"concurrently": "^7.0.0",
"cypress": "^9.5.3",
"eslint": "^4.9.0",
"eslint-config-prettier": "^2.3.0",
"eslint-config-synacor": "^2.0.2",
"gulp": "^4.0.2",
"gulp-clean-css": "^3.9.2",
"gulp-concat": "^2.6.1",
"gulp-connect": "^5.7.0",
"gulp-rename": "^1.3.0",
"gulp-uglify": "^3.0.0",
"gulp-useref": "^3.1.3",
"gulp-zip": "^4.1.0",
"husky": "^0.14.3",
"identity-obj-proxy": "^3.0.0",
"if-env": "^1.0.0",
"jest": "^24.8.0",
"jest-cli": "^24.8.0",
"lint-staged": "^7.2.0",
"markdown-it": "^8.4.2",
"markdown-it-anchor": "^5.0.2",
"merge-stream": "^1.0.1",
"preact-cli": "^4.0.0-next.6",
"sw-precache": "^5.2.0"
},
"dependencies": {
"@emmetio/codemirror-plugin": "^0.5.4",
"@lingui/react": "^2.8.3",
"canvas-confetti": "^1.9.2",
"code-blast-codemirror": "chinchang/code-blast-codemirror#web-maker",
"codemirror": "^5.65.16",
"copy-webpack-plugin": "^4.5.1",
"esprima-next": "^6.0.3",
"firebase": "^10.8.0",
"jszip": "^3.1.5",
"preact": "^10.17.0",
"preact-portal": "^1.1.3",
"preact-render-to-string": "^5.1.4",
"preact-router": "^3.2.1",
"prettier": "^3.0.2",
"react-inspector": "^6.0.2",
"split.js": "^1.5.11"
},
"engines": {
"node": "20"
},
"jest": {
"verbose": true,
"setupFiles": [
"<rootDir>/tests/__mocks__/browserMocks.js"
],
"testRegex": "(/(__tests__|tests)/.*|(\\.|/)(test|spec))\\.jsx?$",
"testPathIgnorePatterns": [
"/node_modules/",
"<rootDir>/tests/__mocks__/*"
],
"testURL": "http://localhost:8080",
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleDirectories": [
"node_modules"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/tests/__mocks__/fileMock.js",
"\\.(css|less|scss)$": "identity-obj-proxy",
"^./style$": "identity-obj-proxy",
"^preact$": "<rootDir>/node_modules/preact/dist/preact.js",
"^react$": "preact/compat",
"^react-dom$": "preact/compat",
"^react-addons-css-transition-group$": "preact-css-transition-group"
}
},
"browserslist": [
"last 3 Chrome versions",
"last 3 Firefox versions"
],
"repository": {
"type": "git",
"url": "git+https://github.com/chinchang/web-maker.git"
},
"keywords": [
"frontend",
"playground",
"web",
"editor",
"offline"
],
"author": "Kushagra Gour",
"license": "MIT",
"bugs": {
"url": "https://github.com/chinchang/web-maker/issues"
},
"homepage": "https://webmaker.app"
}