aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
authorlutangar <johan.dufour@gmail.com>2021-11-09 13:49:08 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-12-16 10:08:43 +0100
commit8b03e2ce1a2098261de2f729f660b1ae2a320b65 (patch)
treeca4770cf86c9c54814dbb62bfc95ef38661646b2 /package.json
parent06aad80165d09a8863ab8103149a8ff518b10641 (diff)
downloadPeerTube-8b03e2ce1a2098261de2f729f660b1ae2a320b65.tar.gz
PeerTube-8b03e2ce1a2098261de2f729f660b1ae2a320b65.tar.zst
PeerTube-8b03e2ce1a2098261de2f729f660b1ae2a320b65.zip
feat(types): create peertube-types package
Create dedicated Typescript "types" configuration file for each "projects". Create a types folder which includes every useful ts definition: - client - server - shared Add tooling to create a proper package, extract dependencies, etc... Add CI Github task. refactor(types): publish types package in release script
Diffstat (limited to 'package.json')
-rw-r--r--package.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/package.json b/package.json
index 2d342418d..7bfe8aadc 100644
--- a/package.json
+++ b/package.json
@@ -29,6 +29,7 @@
29 "build:embed": "bash ./scripts/build/embed.sh", 29 "build:embed": "bash ./scripts/build/embed.sh",
30 "build:server": "bash ./scripts/build/server.sh", 30 "build:server": "bash ./scripts/build/server.sh",
31 "build:client": "bash ./scripts/build/client.sh", 31 "build:client": "bash ./scripts/build/client.sh",
32 "build:types": "tsc -b --verbose tsconfig.types.json",
32 "clean:client": "bash ./scripts/clean/client/index.sh", 33 "clean:client": "bash ./scripts/clean/client/index.sh",
33 "clean:server:test": "bash ./scripts/clean/server/test.sh", 34 "clean:server:test": "bash ./scripts/clean/server/test.sh",
34 "i18n:update": "bash ./scripts/i18n/update.sh", 35 "i18n:update": "bash ./scripts/i18n/update.sh",
@@ -52,6 +53,7 @@
52 "test": "bash ./scripts/test.sh", 53 "test": "bash ./scripts/test.sh",
53 "help": "bash ./scripts/help.sh", 54 "help": "bash ./scripts/help.sh",
54 "generate-cli-doc": "bash ./scripts/generate-cli-doc.sh", 55 "generate-cli-doc": "bash ./scripts/generate-cli-doc.sh",
56 "generate-types-package": "ts-node ./scripts/generate-types-package.ts",
55 "parse-log": "node ./dist/scripts/parse-log.js", 57 "parse-log": "node ./dist/scripts/parse-log.js",
56 "prune-storage": "node ./dist/scripts/prune-storage.js", 58 "prune-storage": "node ./dist/scripts/prune-storage.js",
57 "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)", 59 "postinstall": "test -n \"$NOCLIENT\" || (cd client && yarn install --pure-lockfile)",
@@ -192,6 +194,7 @@
192 "chai-json-schema": "^1.5.0", 194 "chai-json-schema": "^1.5.0",
193 "chai-xml": "^0.4.0", 195 "chai-xml": "^0.4.0",
194 "concurrently": "^6.0.0", 196 "concurrently": "^6.0.0",
197 "depcheck": "^1.4.2",
195 "eslint": "^8.0.0", 198 "eslint": "^8.0.0",
196 "eslint-config-standard-with-typescript": "^21.0.1", 199 "eslint-config-standard-with-typescript": "^21.0.1",
197 "eslint-plugin-import": "^2.20.1", 200 "eslint-plugin-import": "^2.20.1",