mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 11:46:37 +08:00
55 lines
1.6 KiB
JSON
55 lines
1.6 KiB
JSON
{
|
|
"name": "flarum-webpack-config",
|
|
"type": "module",
|
|
"version": "3.0.0",
|
|
"description": "Webpack config for Flarum JS and TS transpilation.",
|
|
"main": "src/index.cjs",
|
|
"author": "Flarum Team",
|
|
"license": "MIT",
|
|
"prettier": "@flarum/prettier-config",
|
|
"peerDependencies": {
|
|
"webpack": "^5.76.0"
|
|
},
|
|
"dependencies": {
|
|
"@babel/core": "^7.20.2",
|
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
"@babel/plugin-proposal-private-methods": "^7.18.6",
|
|
"@babel/plugin-transform-object-assign": "^7.18.6",
|
|
"@babel/plugin-transform-react-jsx": "^7.19.0",
|
|
"@babel/plugin-transform-runtime": "^7.19.6",
|
|
"@babel/preset-env": "^7.20.2",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@babel/preset-typescript": "^7.18.6",
|
|
"@babel/runtime": "^7.20.1",
|
|
"babel-loader": "^9.1.0",
|
|
"loader-utils": "^1.4.0",
|
|
"schema-utils": "^3.0.0",
|
|
"typescript": "^4.9.3",
|
|
"webpack": "^5.76.0",
|
|
"webpack-bundle-analyzer": "^4.7.0"
|
|
},
|
|
"devDependencies": {
|
|
"@flarum/prettier-config": "^1.0.0",
|
|
"babel-jest": "^29.5.0",
|
|
"jest": "^29.5.0",
|
|
"memfs": "^3.5.3",
|
|
"prettier": "^2.8.0"
|
|
},
|
|
"scripts": {
|
|
"dev": "echo 'skipping..'",
|
|
"build": "echo 'skipping..'",
|
|
"analyze": "echo 'skipping..'",
|
|
"format": "prettier --write .",
|
|
"format-check": "prettier --check .",
|
|
"clean-typings": "echo 'skipping..'",
|
|
"build-typings": "echo 'skipping..'",
|
|
"post-build-typings": "echo 'skipping..'",
|
|
"check-typings": "echo 'skipping..'",
|
|
"check-typings-coverage": "echo 'skipping..'",
|
|
"test": "jest"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node"
|
|
}
|
|
}
|