mirror of
https://github.com/chinchang/web-maker.git
synced 2025-02-22 06:03:22 +01:00
Previously we had to run two separate commands to start the gulp preview server and the actual preact app. This new dev package will run those commands concurrently under the hood. We just have to use npm run start.
138 lines
3.5 KiB
JSON
138 lines
3.5 KiB
JSON
{
|
|
"name": "web-maker",
|
|
"version": "4.2.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.html --prerender false",
|
|
"dev": "preact watch --template src/index.html",
|
|
"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"
|
|
},
|
|
"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",
|
|
"@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",
|
|
"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": "^3.0.0",
|
|
"sw-precache": "^5.2.0"
|
|
},
|
|
"dependencies": {
|
|
"@emmetio/codemirror-plugin": "^0.5.4",
|
|
"@lingui/react": "^2.8.3",
|
|
"code-blast-codemirror": "chinchang/code-blast-codemirror#web-maker",
|
|
"codemirror": "^5.37.0",
|
|
"copy-webpack-plugin": "^4.5.1",
|
|
"esprima": "^4.0.0",
|
|
"firebase": "^8.10.0",
|
|
"jszip": "^3.1.5",
|
|
"preact": "^10.5.13",
|
|
"preact-portal": "^1.1.3",
|
|
"preact-render-to-string": "^5.1.4",
|
|
"preact-router": "^3.2.1",
|
|
"prettier": "^2.2.1",
|
|
"react-inspector": "^2.3.0",
|
|
"split.js": "^1.5.11"
|
|
},
|
|
"engines": {
|
|
"node": "16"
|
|
},
|
|
"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.com"
|
|
}
|