mirror of
https://github.com/chinchang/web-maker.git
synced 2025-01-16 20:08:15 +01:00
143 lines
3.7 KiB
JSON
143 lines
3.7 KiB
JSON
{
|
|
"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"
|
|
}
|