aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authorMarvin Borner2019-01-18 21:07:39 +0100
committerMarvin Borner2019-01-18 21:07:39 +0100
commit7dd78773cb6c0c3ccfa6784fde98e4ad923b0bc9 (patch)
tree09083cadac80892a759776cf6ef3b030400f23ab /package.json
Initial boilerplate
Diffstat (limited to 'package.json')
-rw-r--r--package.json110
1 files changed, 110 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..98b4c10
--- /dev/null
+++ b/package.json
@@ -0,0 +1,110 @@
+{
+ "name": "decentralized-chat",
+ "version": "1.0.0",
+ "description": "Using latest JavaScript features on the server",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/vmasto/express-babel.git"
+ },
+ "author": "Vassilis Mastorostergios <vmasto@gmail.com>",
+ "license": "MIT",
+ "main": "dist/index.js",
+ "engines": {
+ "node": "~6.9.1",
+ "npm": ">=3.10.0"
+ },
+ "scripts": {
+ "prestart": "npm run -s build",
+ "start": "node dist/index.js",
+ "dev": "nodemon src/index.js --exec \"node -r dotenv/config -r babel-register\"",
+ "clean": "rimraf dist",
+ "build": "npm run clean && mkdir -p dist && babel src -s -D -d dist",
+ "test": "jest --watch",
+ "lint": "esw -w src test"
+ },
+ "keywords": [
+ "express",
+ "babel",
+ "boilerplate",
+ "scaffold",
+ "es6",
+ "es2015",
+ "es2016",
+ "es2017",
+ "jest",
+ "eslint"
+ ],
+ "dependencies": {
+ "babel-cli": "^6.26.0",
+ "babel-plugin-transform-class-properties": "^6.24.1",
+ "babel-plugin-transform-object-rest-spread": "^6.26.0",
+ "babel-preset-env": "^1.6.1",
+ "body-parser": "^1.18.2",
+ "express": "^4.16.2",
+ "morgan": "^1.9.0",
+ "pug": "^2.0.0-beta11",
+ "rimraf": "^2.6.2",
+ "webtorrent": "^0.103.0"
+ },
+ "devDependencies": {
+ "babel-eslint": "^8.2.3",
+ "babel-jest": "^21.2.0",
+ "babel-register": "^6.26.0",
+ "dotenv": "^4.0.0",
+ "eslint": "^4.12.1",
+ "eslint-plugin-import": "^2.11.0",
+ "eslint-plugin-jest": "^21.3.2",
+ "eslint-watch": "^3.1.3",
+ "jest": "^23.6.0",
+ "nodemon": "^1.12.1",
+ "supertest": "^3.0.0"
+ },
+ "babel": {
+ "presets": [
+ [
+ "env",
+ {
+ "targets": {
+ "node": "current"
+ }
+ }
+ ]
+ ],
+ "plugins": [
+ "transform-object-rest-spread",
+ "transform-class-properties"
+ ]
+ },
+ "eslintConfig": {
+ "parser": "babel-eslint",
+ "plugins": [
+ "import",
+ "jest"
+ ],
+ "parserOptions": {
+ "ecmaVersion": 2017,
+ "sourceType": "module"
+ },
+ "env": {
+ "node": true,
+ "jest": true
+ },
+ "extends": [
+ "eslint:recommended"
+ ],
+ "rules": {
+ "jest/no-focused-tests": 2,
+ "jest/no-identical-title": 2
+ }
+ },
+ "jest": {
+ "testEnvironment": "node"
+ },
+ "bugs": {
+ "url": "https://github.com/vmasto/express-babel/issues"
+ },
+ "homepage": "https://github.com/vmasto/express-babel#readme",
+ "directories": {
+ "test": "test"
+ }
+}