Setup formatting

This commit is contained in:
schmelczerandras 2020-10-07 16:40:21 +02:00
parent d34f25295c
commit dd850d11d1
45 changed files with 230 additions and 190 deletions

View file

@ -3,18 +3,23 @@
"private": true,
"description": "Shared library between backend and frontend",
"main": "lib/main.js",
"types": "lib/src/main.d.ts",
"files": [
"lib"
],
"scripts": {
"start": "webpack --mode development --watch",
"lint": "eslint --fix \"src/**/*.ts\" && prettier --write \"src/**/*.ts\"",
"build": "webpack --mode production",
"try-build-before": "npm run build",
"initialize": "npm install"
"build-before": "npm run build",
"initialize": "npm install",
"start": "webpack --mode development --watch",
"try-build-before": "npm run build-before"
},
"devDependencies": {
"clean-webpack-plugin": "^3.0.0",
"terser-webpack-plugin": "^2.3.8",
"ts-loader": "^8.0.3",
"typescript": "^3.9.7",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11"
}
}
}