Skip to content

Commit

Permalink
chore: edit package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideIadeluca committed Oct 30, 2024
1 parent 0bcc054 commit d899a02
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,25 @@
"version": "0.0.0",
"private": true,
"prettier": "@flarum/prettier-config",
"dependencies": {
"devDependencies": {
"@flarum/prettier-config": "^1.0.0",
"flarum-tsconfig": "^1.0.2",
"flarum-tsconfig": "^1.0.3",
"flarum-webpack-config": "^2.0.0",
"prettier": "^3.0.3",
"typescript-coverage-report": "^0.6.1",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"scripts": {
"dev": "webpack --mode development --watch",
"analyze": "cross-env ANALYZER=true yarn run build",
"build": "webpack --mode production",
"build-typings": "yarn run clean-typings && ([ -e src/@types ] && cp -r src/@types dist-typings/@types || true) && tsc && yarn run post-build-typings",
"check-typings": "tsc --noEmit --emitDeclarationOnly false",
"check-typings-coverage": "typescript-coverage-report",
"clean-typings": "npx rimraf dist-typings && mkdir dist-typings",
"dev": "webpack --mode development --watch",
"format": "prettier --write src",
"format-check": "prettier --check src"
},
"devDependencies": {
"prettier": "^3.0.3"
"format-check": "prettier --check src",
"post-build-typings": "find dist-typings -type f -name '*.d.ts' -print0 | xargs -0 sed -i 's,../src/@types,@types,g'"
}
}

0 comments on commit d899a02

Please sign in to comment.