package.json 1.96 KB
Newer Older
David Haynes's avatar
Yarnn  
David Haynes committed
1 2
{
  "name": "masonstrap",
3
  "version": "4.0.0",
David Haynes's avatar
Yarnn  
David Haynes committed
4 5 6 7 8
  "description": "Easily style any web project with Mason branding",
  "repository": "git@git.gmu.edu:srct/masonstrap.git",
  "author": "Mason SRCT",
  "license": "MIT",
  "dependencies": {
David Haynes's avatar
David Haynes committed
9
    "autoprefixer": "^7.1.2",
David Haynes's avatar
Yarnn  
David Haynes committed
10
    "bootstrap": "4.0.0-beta",
David Haynes's avatar
David Haynes committed
11
    "clean-css-cli": "^4.1.6",
David Haynes's avatar
David Haynes committed
12
    "font-awesome": "^4.7.0",
13
    "http-server": "^0.10.0",
David Haynes's avatar
Yarnn  
David Haynes committed
14
    "jquery": "^3.2.1",
David Haynes's avatar
David Haynes committed
15
    "node-sass": "^4.5.3",
16
    "npm-run-all": "^4.0.2",
17
    "onchange": "^3.2.1",
David Haynes's avatar
David Haynes committed
18
    "popper.js": "^1.11.1",
19 20 21
    "postcss-cli": "^4.1.0",
    "stylelint": "^8.0.0",
    "stylelint-config-standard": "^17.0.0"
22 23
  },
  "scripts": {
24
    "sass-lint": "stylelint ./masonstrap/*.scss --syntax scss",
25 26 27
    "sass-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 ./masonstrap/masonstrap.scss ./public/assets/css/masonstrap.css",
    "sass-prefix": "npx postcss ./public/assets/css/masonstrap.css --use autoprefixer -d ./public/assets/css/",
    "sass-minify": "cleancss --source-map --source-map-inline-sources -o ./public/assets/css/masonstrap.min.css ./public/assets/css/masonstrap.css",
David Haynes's avatar
David Haynes committed
28
    "copy-fonts": "cp -r ./node_modules/font-awesome/fonts/ ./public/assets/",
29
    "copy-js": "cp ./node_modules/jquery/dist/jquery.min.js ./public/assets/js/jquery.min.js && cp ./node_modules/jquery/dist/jquery.min.map ./public/assets/js/jquery.min.map && cp ./node_modules/bootstrap/dist/js/bootstrap.min.js ./public/assets/js/bootstrap.min.js && cp ./node_modules/popper.js/dist/umd/popper.min.js ./public/assets/js/popper.min.js && cp ./node_modules/popper.js/dist/umd/popper.min.js.map ./public/assets/js/popper.min.js.map",
David Haynes's avatar
David Haynes committed
30
    "build-masonstrap": "npm-run-all copy-js copy-fonts sass-lint sass-compile sass-prefix sass-minify",
31
    "sass-watch": "onchange './masonstrap/*.scss' -- npm run build-masonstrap",
32
    "http": "http-server -r -p 8000",
David Haynes's avatar
DOCKER  
David Haynes committed
33 34
    "start": "npm-run-all copy-js copy-fonts sass-watch",
    "dev": "npm-run-all --parallel start http"
David Haynes's avatar
Yarnn  
David Haynes committed
35 36
  }
}