package.json 1.84 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",
David Haynes's avatar
David Haynes committed
19
    "postcss-cli": "^4.1.0"
20
21
  },
  "scripts": {
22
23
24
    "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
25
    "copy-fonts": "cp -r ./node_modules/font-awesome/fonts/ ./public/assets/",
26
    "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
27
    "build-masonstrap": "npm-run-all copy-js copy-fonts sass-compile sass-prefix sass-minify",
28
    "sass-watch": "onchange './masonstrap/*.scss' -- npm run build-masonstrap",
29
    "http": "http-server -r -p 8000",
David Haynes's avatar
DOCKER    
David Haynes committed
30
    "start": "npm-run-all copy-js copy-fonts sass-watch",
David Haynes's avatar
David Haynes committed
31
    "dev": "npm-run-all --parallel build-masonstrap start http"
David Haynes's avatar
Yarnn    
David Haynes committed
32
33
  }
}