X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=package.json;h=095d380bfdadde0105cc8a1c09b28c07eab49b0d;hb=c3d19a49070aedb0e9accedf46465196b677406e;hp=71cd789ba305871bdfdaa139a954c4117845c1c9;hpb=69818c9394366b954b6ba3bd697bd9d2b09f2a16;p=github%2FChocobozzz%2FPeerTube.git diff --git a/package.json b/package.json index 71cd789ba..095d380bf 100644 --- a/package.json +++ b/package.json @@ -17,26 +17,31 @@ "url": "git://github.com/Chocobozzz/PeerTube.git" }, "scripts": { - "build": "npm run build:client:prod", - "build:client:dev": "scripty", - "build:client:prod": "scripty", + "build": "SCRIPTY_PARALLEL=true scripty", + "build:server": "scripty", + "build:client": "scripty", "clean": "npm run clean:client", "clean:client": "scripty", "clean:server:test": "scripty", - "watch:client": "SCRIPTY_PARALLEL=true scripty", + "watch:client": "scripty", + "watch:server": "scripty", "danger:clean:dev": "scripty", "danger:clean:prod": "scripty", "danger:clean:modules": "scripty", - "reset-password": "scripty", + "reset-password": "ts-node ./scripts/reset-password.ts", "play": "scripty", - "dev": "scripty", - "start": "node server", - "check": "scripty", + "dev:server": "scripty", + "dev:client": "scripty", + "start": "node dist/server", + "check": "ts-node ./scripts/check.ts", "upgrade": "scripty", - "update-host": "scripty", + "update-host": "ts-node ./scripts/update-host.ts", "test": "scripty", "help": "scripty", - "postinstall": "cd client && yarn install" + "postinstall": "cd client && yarn install", + "tsc": "tsc", + "nodemon": "nodemon", + "ts-node": "ts-node" }, "dependencies": { "async": "^2.0.0", @@ -70,6 +75,7 @@ "safe-buffer": "^5.0.1", "scripty": "^1.5.0", "sequelize": "4.0.0-2", + "ts-node": "^3.0.6", "typescript": "~2.2.0", "validator": "^7.0.0", "winston": "^2.1.1", @@ -79,6 +85,7 @@ "@types/async": "^2.0.40", "@types/bcrypt": "^1.0.0", "@types/body-parser": "^1.16.3", + "@types/commander": "^2.9.1", "@types/config": "^0.0.32", "@types/express": "^4.0.35", "@types/lodash": "^4.14.64", @@ -95,6 +102,7 @@ "chai": "^3.3.0", "commander": "^2.9.0", "mocha": "^3.0.1", + "nodemon": "^1.11.0", "source-map-support": "^0.4.15", "standard": "^10.0.0", "supertest": "^3.0.0",