{
"name": "carpentertutoring-com",
"version": "1.0.0",
"description": "Carpenter Tutoring Web Site",
"main": "src/index.html",
"author": "Adam Carpenter",
"license": "BSD-3-Clause",
"dependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"uglify-js": "^3.9.1"
},
"devDependencies": {
"babel-plugin-minify-builtins": "^0.5.0",
"browser-sync": "^2.26.7",
"bulma": "^0.8.0",
"node-sass": "^4.13.1",
"npm-run-all": "^4.1.5",
"onchange": "^6.1.0"
},
"scripts": {
"serve": "run-p browser watch",
"css:dev": "node-sass src/scss/index.scss dist/index.css",
"css:prod": "node-sass src/scss/index.scss --output-style compressed dist/index.css",
"js:dev": "babel src/js --source-maps > dist/app.js",
"js:prod": "babel --plugins minify-builtins src/js > dist/app.js",
"clean": "rm -rf dist/",
"mkdirs": "mkdir -p dist",
"copy:assets": "cp -r src/assets/* dist/",
"copy:html": "cp -r src/html/* dist/",
"copy": "npm run copy:assets && npm run copy:html",
"prebuild:dev": "npm run clean && npm run mkdirs && npm run copy",
"prebuild:prod": "npm run clean && npm run mkdirs && npm run copy",
"build:dev": "npm run css:dev && npm run js:dev",
"build:prod": "npm run css:prod && npm run js:prod",
"preserve": "npm run build:dev",
"browser": "browser-sync start -s --no-open --files 'dist/**/*' --ss 'dist' --port 8080 --reload-debounce 500",
"watch:assets": "onchange 'src/assets/**/*' -- npm run copy:assets",
"watch:html": "onchange 'src/html/**/*' -- npm run copy:html",
"watch:css": "onchange 'src/scss/**/*' -- npm run css:dev",
"watch:js": "onchange 'src/js/**/*' -- npm run js:dev",
"watch": "run-p watch:css watch:js watch:html watch:assets"
}
}