75 lines
3.2 KiB
JSON
75 lines
3.2 KiB
JSON
{
|
|
"name": "caspar-sup",
|
|
"version": "1.0.0",
|
|
"description": "CasparCG superimposed graphics project",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build:styl": "stylus -m app/styl/main.styl --out public",
|
|
"watch:styl": "stylus -w -m app/styl/main.styl --out public",
|
|
"build-client:styl": "stylus -m app/styl/client.styl --out public",
|
|
"watch-client:styl": "stylus -w -m app/styl/client.styl --out public",
|
|
"build-status:styl": "stylus -m app/styl/status.styl --out public",
|
|
"watch-status:styl": "stylus -w -m app/styl/status.styl --out public",
|
|
"watch:js": "watchify -t babelify app/main/index.js -o public/main.js --debug",
|
|
"build:js": "browserify app/main/index.js -o public/main.js --debug -t [ babelify ]",
|
|
"watch-client:js": "watchify -t babelify app/client/index.js -o public/client.js --debug",
|
|
"build-client:js": "browserify app/client/index.js -o public/client.js --debug -t [ babelify ]",
|
|
"watch-status:js": "watchify -t babelify app/status/index.js -o public/status.js --debug",
|
|
"build-status:js": "browserify app/status/index.js -o public/status.js --debug -t [ babelify ]",
|
|
"watch:server": "nodemon index.js",
|
|
"start": "node index.js",
|
|
"start:win": "node index.js | bunyan",
|
|
"dev-run": "run-p watch:js watch-client:js watch-status:js watch:server watch:styl watch-client:styl watch-status:styl",
|
|
"prod-run": "npm run build:js && npm run build-client:js && npm run build-status:js && npm run build:styl && npm run build-client:styl && npm run build-status:styl && npm start",
|
|
"build": "npm run build:js && npm run build-client:js && npm run build-status:js && npm run build:styl && npm run build-client:styl && npm run build-status:styl",
|
|
"test": "env NODE_ENV=test mocha --require babel-register --recursive --reporter dot",
|
|
"docker": "docker run -it --rm --name my-running-script -v \"$PWD\":/usr/src/app -w /usr/src/app node:alpine",
|
|
"docker:test": "npm run docker -- npm install && npm run test",
|
|
"docker:dev": "npm run docker -- npm install && npm run dev-run",
|
|
"docker:run": "npm run docker -- npm install && npm run prod-run"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/nfp-projects/caspar-sup.git"
|
|
},
|
|
"keywords": [
|
|
"Casparcg",
|
|
"superimposed",
|
|
"graphics"
|
|
],
|
|
"author": "Jonatan Nilsson",
|
|
"license": "WTFPL",
|
|
"bugs": {
|
|
"url": "https://github.com/nfp-projects/caspar-sup/issues"
|
|
},
|
|
"homepage": "https://github.com/nfp-projects/caspar-sup#readme",
|
|
"dependencies": {
|
|
"app-root-path": "^2.0.1",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
|
|
"babel-register": "^6.26.0",
|
|
"bookshelf": "^0.11.1",
|
|
"bunyan": "^1.8.12",
|
|
"casparcg-connection": "^4.1.0",
|
|
"dragula": "^3.7.2",
|
|
"ip": "^1.1.5",
|
|
"knex": "^0.14.2",
|
|
"koa": "^2.4.1",
|
|
"koa-better-serve": "^2.0.7",
|
|
"koa-socket": "^4.4.0",
|
|
"mithril": "^1.1.5",
|
|
"nconf": "^0.9.1",
|
|
"socket.io": "^2.0.4",
|
|
"socket.io-client": "^2.0.4",
|
|
"sqlite3": "^3.1.13"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^4.16.0",
|
|
"eslint-plugin-mocha": "^4.11.0",
|
|
"babelify": "^8.0.0",
|
|
"mocha": "^4.0.1",
|
|
"nodemon": "^1.12.1",
|
|
"npm-run-all": "^4.1.2",
|
|
"stylus": "^0.54.5",
|
|
"watchify": "^3.9.0"
|
|
}
|
|
}
|