Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. {
  2. "name": "fer-07-project",
  3. "version": "1.0.0",
  4. "description": "",
  5. "main": "index.html",
  6. "scripts": {
  7. "init-project": "npm install && npm-run-all init:*",
  8. "init:dirs": "mkdirp dist src/sass src/css src/vendor src/images src/js",
  9. "init:files": "touch README.md src/index.html src/sass/style.scss src/js/script.js",
  10. "init:gitignore": "curl https://raw.githubusercontent.com/github/gitignore/master/Node.gitignore -o .gitignore",
  11. "init:gitignore:custom": "echo \"dist\" >> .gitignore",
  12. "test": "npm-run-all test:*",
  13. "test:html": "globstar nu-html-checker dist/*.html",
  14. "test:js": "eslint src/js/",
  15. "test:scss": "stylelint src/sass/",
  16. "build": "npm-run-all build:* test",
  17. "build:clean": "mkdirp dist && rm -r dist && mkdirp dist",
  18. "build:copy": "copyfiles -a -u 1 -e \"**/sass/**/*\" -e \"**/.gitkeep\" \"src/**/*\" dist",
  19. "build:sass": "node-sass --output-style compact -o dist/css src/sass",
  20. "build:autoprefixer": "globstar autoprefixer-cli \"dist/css/*.css\"",
  21. "build-dev": "npm-run-all build-dev:sass build:autoprefixer",
  22. "build-dev:sass": "node-sass --output-style expanded --source-map true -o dist/css src/sass",
  23. "watch": "npm-run-all build build-dev -p watch:*",
  24. "watch:browsersync": "browser-sync start --server dist --files \"dist/**/*\" --ignore \"dist/db/**/*\"",
  25. "watch:sassprefixer": "onchange \"src/sass/**/*.scss\" -- npm run build-dev",
  26. "watch:copy": "onchange -e \"**/sass/**/*\" -e \"**/.gitkeep\" \"src/**/*\" -- copyfiles -a -u 1 {{changed}} dist"
  27. },
  28. "keywords": [],
  29. "author": "",
  30. "license": "ISC",
  31. "dependencies": {
  32. "json-server": "^0.16.1"
  33. },
  34. "devDependencies": {
  35. "autoprefixer-cli": "^1.0.0",
  36. "browser-sync": "^2.26.3",
  37. "copyfiles": "^2.1.0",
  38. "eslint": "^6.8.0",
  39. "globstar": "^1.0.0",
  40. "mkdirp": "^0.5.1",
  41. "node-sass": "^4.11.0",
  42. "npm-run-all": "^4.1.5",
  43. "nu-html-checker": "^0.1.0",
  44. "onchange": "^5.2.0",
  45. "stylelint": "^9.10.1",
  46. "stylelint-scss": "^3.5.4"
  47. }
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement