miru
Version:
web development server for bundlers and/or static files, parses terminal and DOM errors ( inline sourcemaps supported )
84 lines (83 loc) • 3.67 kB
JSON
{
"name": "miru",
"version": "0.9.9",
"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",
"dist/miru.js",
"dist/miru-connect.js",
"dist/index.html",
"dist/pesticide.css",
"dist/favicon.png",
"dist/usage.txt"
],
"scripts": {
"prepublish": "npm run build && npm run pass",
"build": "npm run build:source && npm run uglify",
"build:source": "npm run build:client && npm run build:server",
"build:server": "browserify --node --no-bundle-external --standalone miru -t [ babelify --presets [ env ] ] src/server/miru.js -o dist/miru.js",
"build:client": "browserify --bare -t [ babelify --presets [ env ] ] src/client/main.js -o dist/miru-connect.js 2>&1 | wooster",
"deps:client": "browserify --list --bare -t [ babelify --presets [ env ] ] src/client/main.js -o dist/miru-connect.js",
"watch:client": "watchify -v -t [ babelify --presets [ env ] ] src/client/main.js -o dist/miru-connect.js 2>&1 | wooster",
"uglify": "npm run uglify:client && npm run uglify:server",
"postuglify": "npm run pass",
"uglify:server": "uglifyjs dist/miru.js -cmo dist/miru.js",
"uglify:client": "uglifyjs dist/miru-connect.js -cmo dist/miru-connect.js",
"dev:css": "node src/server/miru.js -v -p test/stage/ --development -w [ npm run watch:stage:css, test/stage/bundle.css ]",
"dev:js": "node src/server/miru.js -v -p test/stage/ --development -w [ npm run watch:stage:js, test/stage/bundle.js ]",
"dev": "node src/server/miru.js -v -p test/stage/ --development -w [ npm run watch:stage:js, test/stage/bundle.js ] -w [ npm run watch:stage:css, test/stage/bundle.css ]",
"dev:dist": "./cli.js -v -p test/stage/ --development -w [ npm run watch:stage:js, test/stage/bundle.js ] -w [ npm run watch:stage:css, test/stage/bundle.css ]",
"cli": "./cli.js -p test/stage/ --development -w [ npm run watch:stage:js, test/stage/bundle.js ] -w [ npm run watch:stage:css, test/stage/bundle.css ]",
"build:stage:js": "browserify -t [ babelify --presets [ env ] ] test/stage/app.js -o test/stage/bundle.js",
"watch:stage:js": "watchify -v --debug -t [ babelify --presets [ env ] ] test/stage/app.js -o test/stage/bundle.js",
"build:stage:css": "stylus -u nib -r test/stage/app.styl -o test/stage/bundle.css",
"watch:stage:css": "stylus -w -u nib -r test/stage/app.styl -o test/stage/bundle.css",
"lint": "spacestandard src/**/*.js",
"pass": "passlint dist/*.js",
"pretest": "npm run pass",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/talmobi/miru"
},
"author": "talmobi <talmo.christian@gmail.com>",
"license": "MIT",
"dependencies": {
"ansi-to-html": "~0.6.3",
"body-parser": "~1.18.2",
"cli-color": "~1.2.0",
"cors": "~2.8.4",
"dasu": "0.0.22",
"express": "~4.14.0",
"kiite": "0.0.6",
"miteru": "~0.6.1",
"redom": "~3.4.0",
"string-width": "~2.1.1",
"subarg": "~1.0.0",
"ua-parser-js": "~0.7.17",
"wooster": "~0.3.4"
},
"devDependencies": {
"babel-core": "~6.26.0",
"babel-preset-env": "~1.6.1",
"babelify": "~7.3.0",
"brfs": "~1.4.3",
"browserify": "~14.5.0",
"faucet": "0.0.1",
"mkdirp": "~0.5.1",
"ncp": "~2.0.0",
"nib": "~1.1.2",
"passlint": "0.0.13",
"rimraf": "~2.6.2",
"spacestandard": "0.0.6",
"stylus": "~0.54.5",
"tape": "~4.8.0",
"uglify-js": "~3.1.10",
"watchify": "~3.9.0"
}
}