wip
.eslintrc.json
0 → 100644
This diff is collapsed.
... | @@ -7,14 +7,19 @@ | ... | @@ -7,14 +7,19 @@ |
"peertube": ">=3.2.0" | "peertube": ">=3.2.0" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"prepublishOnly": "tsc", | |||
"prepare": "husky install", | "prepare": "husky install", | ||
"semantic-release": "semantic-release", | "semantic-release": "semantic-release", | ||
"prettier": "prettier --write 'src**/*.js' commitlint.config.js" | "eslint": "eslint 'src/**/*.ts' 'test/**/*.ts'", | ||
"prettier": "prettier-eslint --write 'src/**/*.ts' commitlint.config.js" | |||
}, | }, | ||
"publishConfig": { | "publishConfig": { | ||
"access": "public" | "access": "public" | ||
}, | }, | ||
"main": "./lib/index.js", | |||
"typings": "./lib/index.d.ts", | |||
"files": [ | "files": [ | ||
"lib/", | |||
"src/", | "src/", | ||
"languages/" | "languages/" | ||
], | ], | ||
... | @@ -26,7 +31,7 @@ | ... | @@ -26,7 +31,7 @@ |
"homepage": "https://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/", | "homepage": "https://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/", | ||
"author": "lutangar", | "author": "lutangar", | ||
"bugs": "https://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues", | "bugs": "https://gitlab.mim-libre.fr/extensions-peertube/categories-management-plugin/-/issues", | ||
"library": "./src/index.js", | "library": "./lib/index.js", | ||
"css": [], | "css": [], | ||
"clientScripts": [], | "clientScripts": [], | ||
"translations": { | "translations": { | ||
... | @@ -40,8 +45,21 @@ | ... | @@ -40,8 +45,21 @@ |
"@semantic-release/git": "^9.0.0", | "@semantic-release/git": "^9.0.0", | ||
"@semantic-release/gitlab": "^6.1.0", | "@semantic-release/gitlab": "^6.1.0", | ||
"@semantic-release/npm": "^7.1.3", | "@semantic-release/npm": "^7.1.3", | ||
"@tsconfig/node14": "^1.0.1", | |||
"@typescript-eslint/eslint-plugin": "^4.27.0", | |||
"@typescript-eslint/parser": "^4.27.0", | |||
"eslint": "^7.29.0", | |||
"eslint-config-prettier": "^8.3.0", | |||
"eslint-plugin-prettier": "^3.4.0", | |||
"husky": "^6.0.0", | "husky": "^6.0.0", | ||
"peertube": "^3.0.1", | |||
"prettier": "^2.3.1", | "prettier": "^2.3.1", | ||
"semantic-release": "^17.4.4" | "prettier-eslint-cli": "^5.0.1", | ||
"semantic-release": "^17.4.4", | |||
"tsconfig-paths": "^3.9.0", | |||
"typescript": "^4.3.4" | |||
}, | |||
"peerDependencies": { | |||
"peertube": "^3.0.1" | |||
} | } | ||
} | } |
tsconfig.json
0 → 100644
Please register or sign in to comment