This commit is contained in:
Jonas Pfalzgraf 2022-08-23 17:48:57 +02:00
parent 2fc6859169
commit f61a73f2f6
10 changed files with 3151 additions and 1 deletions

34
package.json Normal file
View file

@ -0,0 +1,34 @@
{
"name": "userscript-project-template",
"version": "0.0.1",
"description": "A user script project template to create large and structured TypeScript projects for Tampermonkey or Greasemonkey. It is intended to form a scalable base and is primarily aimed at the Ingress community.",
"main": "index.ts",
"scripts": {
"build": "webpack && npm run build-userScriptHeader",
"build-tooling": "tsc ./tools/userScriptHeader.ts --target esnext --module esnext --lib ESNext",
"build-userScriptHeader": "npm run build-tooling && node ./tools/userScriptHeader.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JosunLP/UserScriptProjectTemplate.git"
},
"keywords": [
"User",
"Script",
"TypeScript",
"Webpack",
"Ingress"
],
"author": "Jonas Pfalzgraf <info@josunlp.de>",
"license": "MIT",
"bugs": {
"url": "https://github.com/JosunLP/UserScriptProjectTemplate/issues"
},
"homepage": "https://github.com/JosunLP/UserScriptProjectTemplate#readme",
"devDependencies": {
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
}
}