116 lines
3.6 KiB
JSON
116 lines
3.6 KiB
JSON
{
|
|
"name": "peer-calls",
|
|
"version": "2.1.0-1",
|
|
"description": "Group peer to peer video calls for anybody.",
|
|
"repository": "https://github.com/jeremija/peer-calls",
|
|
"main": "lib/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"bin": {
|
|
"peercalls": "./lib/index.js"
|
|
},
|
|
"scripts": {
|
|
"start": "node lib/index.js",
|
|
"start:server": "nodemon -e ts,tsx --ignore src/client -x ts-node src/index.ts",
|
|
"start:watch": "chastifol [ npm run js:watch ] [ npm run css:watch ] [ npm run start:server ]",
|
|
"prepublishOnly": "npm run build",
|
|
"build": "npm run css && npm run ts && npm run js && npm run js:uglify",
|
|
"test": "jest",
|
|
"test:coverage": "jest --coverage",
|
|
"test:watch": "jest --watch",
|
|
"js": "browserify -g [ loose-envify purge --NODE_ENV production ] -t babelify ./lib/client/index.js -o ./build/index.prod.js",
|
|
"js:watch": "watchify -p tsify ./src/client/index.tsx -v -d -o ./build/index.js",
|
|
"js:uglify": "minify build/index.prod.js -o build/index.js",
|
|
"css": "node-sass ./src/scss/style.scss -o ./build/",
|
|
"css:watch": "npm run css && node-sass --watch ./src/scss/style.scss -o ./build/",
|
|
"lint": "eslint --ext ts,tsx .",
|
|
"lint:fix": "eslint --ext ts,tsx --fix .",
|
|
"ci": "npm run lint && npm run test:coverage && npm run build",
|
|
"ts:watch": "tsc -p . --watch --preserveWatchOutput",
|
|
"ts": "tsc -p .",
|
|
"clean": "rimraf lib/ tsconfig.tsbuildinfo build/*"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
[
|
|
"@babel/preset-env",
|
|
{
|
|
"forceAllTransforms": true,
|
|
"targets": {
|
|
"browsers": [
|
|
"last 2 versions",
|
|
"safari >= 7",
|
|
"ie >= 11"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"author": "Jerko Steiner",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"config": "^3.2.4",
|
|
"debug": "^4.1.1",
|
|
"express": "^4.17.1",
|
|
"lodash": "^4.17.15",
|
|
"pug": "^2.0.4",
|
|
"socket.io": "^2.3.0",
|
|
"uuid": "^3.3.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.7.2",
|
|
"@babel/polyfill": "^7.7.0",
|
|
"@babel/preset-env": "^7.7.1",
|
|
"@types/classnames": "^2.2.9",
|
|
"@types/config": "0.0.36",
|
|
"@types/debug": "^4.1.5",
|
|
"@types/express": "^4.17.2",
|
|
"@types/jest": "^24.0.23",
|
|
"@types/lodash": "^4.14.148",
|
|
"@types/node": "^12.12.8",
|
|
"@types/react": "^16.9.11",
|
|
"@types/react-dom": "^16.9.4",
|
|
"@types/react-redux": "^7.1.5",
|
|
"@types/react-transition-group": "^4.2.3",
|
|
"@types/redux": "^3.6.0",
|
|
"@types/redux-logger": "^3.0.7",
|
|
"@types/simple-peer": "^9.6.0",
|
|
"@types/socket.io": "^2.1.4",
|
|
"@types/socket.io-client": "^1.4.32",
|
|
"@types/supertest": "^2.0.8",
|
|
"@types/uuid": "^3.4.6",
|
|
"@typescript-eslint/eslint-plugin": "^2.7.0",
|
|
"@typescript-eslint/parser": "^2.7.0",
|
|
"babel-core": "^7.0.0-bridge.0",
|
|
"babel-minify": "^0.5.1",
|
|
"babelify": "^10.0.0",
|
|
"chastifol": "^4.1.0",
|
|
"classnames": "^2.2.6",
|
|
"core-js": "^3.4.1",
|
|
"eslint": "^6.6.0",
|
|
"eslint-plugin-import": "^2.18.2",
|
|
"eslint-plugin-react": "^7.16.0",
|
|
"jest": "^24.9.0",
|
|
"loose-envify": "^1.4.0",
|
|
"node-sass": "^4.13.0",
|
|
"nodemon": "^1.19.4",
|
|
"react": "^16.12.0",
|
|
"react-dom": "^16.12.0",
|
|
"react-redux": "^7.1.3",
|
|
"react-transition-group": "^4.3.0",
|
|
"redux": "^4.0.4",
|
|
"redux-logger": "^3.0.6",
|
|
"redux-thunk": "^2.2.0",
|
|
"rimraf": "^3.0.0",
|
|
"screenfull": "^5.0.0",
|
|
"simple-peer": "^9.6.2",
|
|
"socket.io-client": "^2.3.0",
|
|
"supertest": "^4.0.2",
|
|
"ts-jest": "^24.1.0",
|
|
"ts-node": "^8.5.2",
|
|
"tsify": "^4.0.1",
|
|
"typescript": "^3.7.2",
|
|
"watchify": "^3.11.1"
|
|
}
|
|
}
|