Switch to Typescript and webpack
This commit is contained in:
59
package.json
Normal file
59
package.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"name": "3cp-tapi",
|
||||
"description": "Build your UserScript with webpack",
|
||||
"version": "7.0.0",
|
||||
"author": {
|
||||
"name": "Daniel Triendl",
|
||||
"email": "d.triendl@cp-solutions.at"
|
||||
},
|
||||
"browserslist": [
|
||||
"last 2 version",
|
||||
"> 1%"
|
||||
],
|
||||
"eslintIgnore": [
|
||||
"dist/*.js"
|
||||
],
|
||||
"scripts": {
|
||||
"lint": "eslint src",
|
||||
"preversion": "npm run lint",
|
||||
"postversion": "git push --follow-tags",
|
||||
"anylize": "npm_config_report=true npm run build",
|
||||
"build": "webpack --mode production --config config/webpack.config.production.js",
|
||||
"dev": "webpack --mode development --config config/webpack.config.dev.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "http://scootaloo.cp-austria.at/gitlist/3cx_tapi.git"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"axios": "0.20.0",
|
||||
"axios-userscript-adapter": "0.0.7",
|
||||
"chrono-node": "2.1.9",
|
||||
"jquery": "3.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "4.3.0",
|
||||
"@typescript-eslint/parser": "4.3.0",
|
||||
"css-loader": "4.3.0",
|
||||
"eslint": "7.10.0",
|
||||
"eslint-config-standard": "14.1.1",
|
||||
"eslint-loader": "4.0.2",
|
||||
"eslint-plugin-import": "2.22.1",
|
||||
"eslint-plugin-node": "11.1.0",
|
||||
"eslint-plugin-promise": "4.2.1",
|
||||
"eslint-plugin-standard": "4.0.1",
|
||||
"less": "3.12.2",
|
||||
"less-loader": "7.0.1",
|
||||
"style-loader": "1.2.1",
|
||||
"ts-loader": "8.0.4",
|
||||
"typescript": "4.0.3",
|
||||
"userscript-metadata-webpack-plugin": "0.0.6",
|
||||
"webpack": "4.44.2",
|
||||
"webpack-bundle-analyzer": "3.9.0",
|
||||
"webpack-cli": "3.3.12",
|
||||
"webpack-dev-server": "^3.11.0",
|
||||
"webpack-livereload-plugin": "2.3.0",
|
||||
"webpack-merge": "5.1.4"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user