|
1 | 1 | {
|
2 |
| - "$schema": "http://json.schemastore.org/package", |
3 | 2 | "name": "discord.js",
|
4 | 3 | "description": "A powerful library for interacting with the Discord API",
|
5 |
| - "contributors": [ |
6 |
| - |
7 |
| - |
8 |
| - |
9 |
| - |
10 |
| - ], |
11 |
| - "license": "Apache-2.0", |
12 | 4 | "private": true,
|
13 | 5 | "scripts": {
|
14 | 6 | "pretest": "yarn build",
|
15 |
| - "test": "jest --collect-coverage", |
16 |
| - "test:ci": "yarn test --verbose --noStackTrace", |
| 7 | + "test": "jest --pass-with-no-tests", |
| 8 | + "test:ci": "jest --no-stack-trace --verbose --pass-with-no-tests", |
17 | 9 | "prebuild": "yarn clean",
|
18 |
| - "build": "tsc --build packages/core packages/rest packages/ws --force", |
| 10 | + "build": "yarn workspaces run build", |
19 | 11 | "clean": "rimraf packages/**/dist packages/**/*.tsbuildinfo",
|
20 | 12 | "lint": "eslint packages --ext mjs,js,ts",
|
21 | 13 | "lint:fix": "eslint packages --ext mjs,js,ts --fix",
|
22 | 14 | "format": "prettier --write **/*.{ts,js,json,yml,yaml}",
|
23 | 15 | "update": "yarn upgrade-interactive --latest",
|
24 | 16 | "prepare": "husky install",
|
25 |
| - "lerna": "env-cmd lerna" |
| 17 | + "lerna": "env-cmd lerna", |
| 18 | + "canary-release": "env-cmd lerna publish --conventional-prerelease --pre-dist-tag canary --preid \"canary\"", |
| 19 | + "graduate-release": "env-cmd lerna publish --conventional-graduate", |
| 20 | + "release": "env-cmd lerna publish" |
26 | 21 | },
|
27 |
| - "repository": { |
28 |
| - "type": "git", |
29 |
| - "url": "git+https://github.com/discordjs/discord.js-modules.git" |
30 |
| - }, |
31 |
| - "bugs": { |
32 |
| - "url": "https://github.com/discordjs/discord.js-modules/issues" |
33 |
| - }, |
34 |
| - "homepage": "https://github.com/discordjs/discord.js-modules", |
| 22 | + "contributors": [ |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + ], |
| 28 | + "license": "Apache-2.0", |
35 | 29 | "keywords": [
|
36 | 30 | "discord",
|
37 | 31 | "api",
|
|
40 | 34 | "node",
|
41 | 35 | "discordapp"
|
42 | 36 | ],
|
| 37 | + "repository": { |
| 38 | + "type": "git", |
| 39 | + "url": "git+https://github.com/discordjs/discord.js-modules.git" |
| 40 | + }, |
| 41 | + "bugs": { |
| 42 | + "url": "https://github.com/discordjs/discord.js-modules/issues" |
| 43 | + }, |
| 44 | + "homepage": "https://github.com/discordjs/discord.js-modules", |
43 | 45 | "devDependencies": {
|
44 | 46 | "@babel/core": "^7.15.8",
|
45 | 47 | "@babel/plugin-proposal-decorators": "^7.15.8",
|
|
50 | 52 | "@types/jest": "^27.0.2",
|
51 | 53 | "@typescript-eslint/eslint-plugin": "^4.28.0",
|
52 | 54 | "@typescript-eslint/parser": "^4.28.0",
|
53 |
| - "babel-jest": "^27.3.0", |
54 | 55 | "babel-plugin-const-enum": "^1.1.0",
|
55 | 56 | "babel-plugin-transform-typescript-metadata": "^0.3.2",
|
56 | 57 | "conventional-changelog-cli": "^2.1.1",
|
|
67 | 68 | "nock": "^13.1.3",
|
68 | 69 | "prettier": "^2.4.1",
|
69 | 70 | "rimraf": "^3.0.2",
|
| 71 | + "tsup": "^5.5.0", |
70 | 72 | "typescript": "^4.4.4"
|
71 | 73 | },
|
72 | 74 | "engines": {
|
|
0 commit comments