Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
76 lines (75 sloc) 2.88 KB
{
"name": "simply2do",
"version": "1.0.0",
"description": "simple task manager",
"scripts": {
"init-dev": "npm run name-project && npm install",
"name-project": "echo \"\\033[04mEnter project name (no spaces): \\033[0m\\033[32m\" && read project_name && sed '1 d' ./server.js > temp && mv temp ./server.js && echo \"global.PROJECT_NAME = '$project_name'\" | cat - server.js > temp && mv temp server.js",
"postinstall": "touch ./config/secrets.js",
"start": "node --use_strict server.js",
"stop": "bash kill.sh",
"killmongo": "bash kill.sh mongo",
"serve": "NODE_ENV=development node --use_strict server.js",
"sync": "browser-sync start --no-notify -p 'localhost:3000' -f 'dist/views/**, dist/assets/css/main.css, dist/assets/js/app.js'",
"uglify": "uglifyjs dist/assets/js/app.js -c warnings=false -o dist/assets/js/app.js",
"build:img": "ncp src/assets/img dist/assets/img",
"build:js": "browserify src/assets/js/app.js -d -o dist/assets/js/app.js -t babelify",
"build:css": "node-sass --output-style compressed src/assets/css/main.sass | postcss -u autoprefixer -r > dist/assets/css/main.css",
"build:html": "cp -f src/views/** dist/views/",
"build": "npm run build:html && npm run build:css && npm run build:js && npm run build:img",
"watch:img": "onchange 'src/assets/img/**' -- npm run build:img",
"watch:js": "onchange 'src/assets/js/**' -- npm run build:js",
"watch:css": "onchange 'src/assets/css/**' -- npm run build:css",
"watch:html": "onchange 'src/views/**' -- npm run build:html",
"watch": "npm-run-all -p watch:html watch:css watch:js watch:img",
"dev": "npm run stop && npm-run-all -p serve sync watch",
"prod": "npm run clean && mkdirp dist/views dist/assets/{css,js,img} && npm run build && npm run uglify",
"clean": "rimraf dist/*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BuckyMaler/simply2do"
},
"keywords": [
"react",
"sass",
"node"
],
"author": {
"name": "Bucky Maler",
"url": "buckymaler.com",
"mail": "maler.bucky@gmail.com"
},
"license": "MIT",
"devDependencies": {
"autoprefixer": "^6.5.1",
"babel-polyfill": "^6.16.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"babelify": "^7.3.0",
"browser-sync": "^2.17.5",
"browserify": "^13.1.1",
"mkdirp": "^0.5.1",
"ncp": "^2.0.0",
"node-sass": "^3.10.1",
"npm-run-all": "^3.1.1",
"onchange": "^3.0.2",
"postcss-cli": "^2.6.0",
"rimraf": "^2.5.4",
"uglify-js": "^2.7.4"
},
"dependencies": {
"backbone": "^1.3.3",
"body-parser": "^1.15.2",
"cookie-parser": "^1.4.3",
"ejs": "^2.4.2",
"express": "^4.14.0",
"express-session": "^1.14.0",
"jquery": "^3.0.0",
"mongoose": "^4.5.3",
"passport": "^0.3.2",
"passport-local": "^1.0.0",
"react": "^15.1.0",
"react-dom": "^15.1.0"
}
}