A sane default for web development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "server", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"dependencies": {}, | |
"devDependencies": { | |
"autoprefixer": "^7.2.3", | |
"babel-core": "^6.26.0", | |
"babelify": "^8.0.0", | |
"browserify": "^14.5.0", | |
"node-sass": "^4.7.2", | |
"npm-run-all": "^4.1.2", | |
"onchange": "^3.3.0", | |
"parallelshell": "^3.0.2", | |
"postcss-cli": "^4.1.1", | |
"watchify": "^3.9.0" | |
}, | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1", | |
"css-build": "node-sass --source-map true --output-style expanded sass/main.scss -- glob -o static/css/", | |
"css-prefix": "postcss --config build/postcss.config.js --replace \"static/css/*. css\"", | |
"css-watch": "onchange sass/** -i -- npm run css", | |
"css": "npm-run-all --sequential css-build css-prefix", | |
"js-watch": "onchange js/** -i -- npm run js-build", | |
"js-build": "browserify js/main.js -t babelify --presets env --outfile static/js/ bundle.js", | |
"run-debug": "export FLASK_APP=app.py;export FLASK_DEBUG=1; flask run", | |
"watch": "parallelshell 'npm run css-watch' 'npm run js-watch' 'npm run run-debug'" | |
}, | |
"keywords": [], | |
"author": "", | |
"license": "ISC" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment