UNPKG

miru

Version:

web development server for bundlers and/or static files, parses terminal and DOM errors ( inline sourcemaps supported )

93 lines (92 loc) 3.95 kB
{ "name": "miru", "version": "0.16.2", "description": "web development server for bundlers and/or static files, parses terminal and DOM errors ( inline sourcemaps supported )", "main": "cli.js", "bin": { "miru": "./cli.js" }, "files": [ "cli.js", "assets.js", "dist/miru.js", "dist/miru-connect.js", "dist/index.html", "dist/pesticide.css", "dist/favicon.png", "dist/usage.txt" ], "scripts": { "prepublishOnly": "npm run build && npm run pass", "build": "npm run build:source && npm run uglify", "build:source": "npm run build:miru-connect && npm run build:server", "build:server": "browserify --node --no-bundle-external --standalone miru -t [ babelify --presets [ @babel/preset-env ] ] src/server/miru.js -o dist/miru.js", "build:miru-connect": "browserify -t [ babelify --presets [ @babel/preset-env ] ] src/miru-connect/main.js -o dist/miru-connect.js 2>&1 | wooster", "deps:miru-connect": "browserify --list -t [ babelify --presets [ @babel/preset-env ] ] src/miru-connect/main.js -o dist/miru-connect.js", "watch:miru-connect": "watchify -v -t [ babelify --presets [ @babel/preset-env ] ] src/miru-connect/main.js -o dist/miru-connect.js 2>&1 | wooster", "uglify": "npm run uglify:miru-connect && npm run uglify:server", "postuglify": "npm run pass", "uglify:server": "uglifyjs dist/miru.js -cmo dist/miru.js", "uglify:miru-connect": "uglifyjs dist/miru-connect.js -cmo dist/miru-connect.js", "srccli": "./srccli.js -p test/stage/ --development -w [ npm run watch:stage:js -o test/stage/bundle.js -r bytes.written ] -w [ npm run watch:stage:css -o test/stage/bundle.css ] -t test/stage/index.html", "srcclil": "./srccli.js --logs -p test/stage/ --development -w [ npm run watch:stage:js -o test/stage/bundle.js -r bytes.written ] -w [ npm run watch:stage:css -o test/stage/bundle.css ] -t test/stage/index.html", "watch:stage": "./srccli.js --port 4050 -p test/stage/ -w [ npm run watch:stage:js -o test/stage/bundle.js -r bytes.written ] -w [ npm run watch:stage:css -o test/stage/bundle.css ] -t test/stage/index.html", "watch:stage:js": "watchify --bare --verbose --debug -t [ babelify --presets [ @babel/preset-env ] ] test/stage/app.js -o test/stage/bundle.js", "watch:stage:css": "stylus -w -u nib test/stage/app.styl -o test/stage/bundle.css", "lint": "spacestandard src/**/*.js", "pass": "passlint dist/miru.js dist/miru-connect.js", "pretest": "npm run pass", "test:cli": "tape 'test/test-cli-*'", "test:miru-connect": "tape 'test/test-usage-case-*'", "test": "npm run test:cli | faucet && npm run test:miru-connect | faucet" }, "repository": { "type": "git", "url": "https://github.com/talmobi/miru" }, "author": "talmobi <talmo.christian@gmail.com>", "license": "MIT", "dependencies": { "ansi-to-html": "~0.6.14", "body-parser": "~1.19.0", "cli-color": "~1.2.0", "cli-progress-box": "0.0.2", "compression": "~1.7.4", "cors": "~2.8.5", "cross-spawn-with-kill": "~1.0.0", "dasu": "~0.4.1", "express": "~4.17.1", "find-root": "~1.1.0", "kiite": "~0.4.0", "miteru": "~0.7.0", "nozombie": "~1.1.0", "passlint": "~0.5.0", "path-shorten": "~0.1.2", "redom": "~3.4.0", "redstar": "0.0.2", "string-width": "~4.2.0", "subarg": "~1.0.0", "tree-kill": "~1.2.0", "ua-parser-js": "~0.7.17", "wooster": "~0.5.0" }, "devDependencies": { "@babel/core": "~7.11.1", "@babel/preset-env": "~7.11.0", "@talmobi/faucet": "0.0.3", "@talmobi/watchify": "~3.12.0", "babelify": "~10.0.0", "brfs": "~2.0.2", "browserify": "~16.5.2", "cpy": "~7.0.1", "mkdirp": "~0.5.1", "ncp": "~2.0.0", "nib": "~1.1.2", "puppeteer": "~5.2.1", "rimraf": "~3.0.2", "spacestandard": "~0.3.0", "stylus": "~0.54.8", "tape": "~5.0.1", "uglify-js": "~3.10.1" } }