package.json 1.69 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 9
  "description": "Easily style any web project with Mason branding",
  "repository": "git@git.gmu.edu:srct/masonstrap.git",
  "author": "Mason SRCT",
  "license": "MIT",
  "dependencies": {
    "bootstrap": "4.0.0-beta",
David Haynes's avatar
David Haynes committed
10
    "font-awesome": "^4.7.0",
David Haynes's avatar
Yarnn  
David Haynes committed
11
    "jquery": "^3.2.1",
David Haynes's avatar
David Haynes committed
12
    "popper.js": "^1.11.1"
13 14
  },
  "scripts": {
15 16 17
    "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
18
    "copy-fonts": "cp -r ./node_modules/font-awesome/fonts/ ./public/assets/",
19
    "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
20
    "build-masonstrap": "npm-run-all copy-js copy-fonts sass-compile sass-prefix sass-minify",
21
    "sass-watch": "onchange './masonstrap/*.scss' -- npm run build-masonstrap",
22
    "http": "http-server -r -p 8000",
David Haynes's avatar
DOCKER  
David Haynes committed
23
    "start": "npm-run-all copy-js copy-fonts sass-watch",
David Haynes's avatar
David Haynes committed
24
    "dev": "npm-run-all --parallel build-masonstrap start http"
David Haynes's avatar
David Haynes committed
25 26 27
  },
  "devDependencies": {
    "gulp": "^3.9.1"
David Haynes's avatar
Yarnn  
David Haynes committed
28 29
  }
}