Skip to content

Instantly share code, notes, and snippets.

@DavidSouther
Created October 10, 2015 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DavidSouther/9d75ff760af7491ce974 to your computer and use it in GitHub Desktop.
Save DavidSouther/9d75ff760af7491ce974 to your computer and use it in GitHub Desktop.
{
"name": "...",
"version": "...",
"description": "KTVQ Video Archive Management.",
"main": "./dist/index.js",
"typings": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git@github.com:DavidSouther/rupert.git"
},
"directories": {},
"scripts": {
"watch": "watch 'npm run test' src/ # run this for real-time build and test",
"prepublish": "npm run test",
"test": "npm run test:unit # execute all test suites",
"test:unit": "mocha dist/**.spec.js",
"pretest": "npm run build",
"build": "npm run build:scripts ; npm run build:styles ; npm run build:markup # compile everything",
"build:scripts": "npm run build:tsc ; npm run build:bundle",
"build:tsc": "tsc -p src/client",
"build:bundle": "npm run build:bundle:dev ; npm run build:bundle:prod # bundling!",
"build:bundle:dev": "webpack -d dist/client/index.js ./dist/bundle.js",
"build:bundle:prod": "webpack -p dist/client/index.js ./dist/bundle.min.js",
"build:markup": "npm run build:jade:templates ; npm run build:jade:index",
"build:jade:templates": "jade -o dist/client src/client",
"build:jade:index": "cp dist/client/index.html dist/index.html",
"build:styles": "npm run build:styles:scss ; npm run build:styles:join",
"build:styles:scss": "node-sass -o dist/client -r src/client",
"build:styles:join": "cleancss -o dist/styles.css dist/client/**.css",
"prebuild": "npm run lint",
"lint": "npm run lint:tsc # enforce local style guide",
"lint:tsc": "tslint src/**/*.ts",
"clean": "rm -rf dist/"
},
"dependencies": {
},
"devDependencies": {
"chai": "^3.2.0",
"clean-css": "^3.4.5",
"mocha": "^2.2.5",
"mock-fs": "^3.2.0",
"node-sass": "^3.3.3",
"sinon-chai": "^2.8.0",
"supertest": "^1.1.0",
"tslint": "^2.5.0-beta",
"typescript": "1.6.0-beta",
"watch": "^0.16.0"
},
"author": "David Souther <davidsouther@gmail.com>",
"license": "ISC"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment