mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 04:44:23 +08:00
d189272473
This allows us to get started with converting all Flarum JavaScript code to TypeScript. In addition, we will have time to experiment to find the best Webpack configuration before integrating into flarum-webpack-config. See flarum/flarum-webpack-config#3.
39 lines
951 B
JSON
39 lines
951 B
JSON
{
|
|
"private": true,
|
|
"name": "@flarum/core",
|
|
"dependencies": {
|
|
"@babel/preset-typescript": "^7.10.1",
|
|
"bootstrap": "^3.4.1",
|
|
"classnames": "^2.2.5",
|
|
"color-thief-browser": "^2.0.2",
|
|
"dayjs": "^1.8.28",
|
|
"expose-loader": "^0.7.5",
|
|
"flarum-webpack-config": "0.1.0-beta.10",
|
|
"jquery": "^3.4.1",
|
|
"jquery.hotkeys": "^0.1.0",
|
|
"lodash-es": "^4.17.14",
|
|
"m.attrs.bidi": "github:tobscure/m.attrs.bidi",
|
|
"mithril": "^0.2.8",
|
|
"punycode": "^2.1.1",
|
|
"spin.js": "^3.1.0",
|
|
"webpack": "^4.43.0",
|
|
"webpack-cli": "^3.3.11",
|
|
"webpack-merge": "^4.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"husky": "^4.2.5",
|
|
"prettier": "2.0.2"
|
|
},
|
|
"scripts": {
|
|
"dev": "webpack --mode development --watch",
|
|
"build": "webpack --mode production",
|
|
"format": "prettier --write src",
|
|
"format-check": "prettier --check src"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run format"
|
|
}
|
|
}
|
|
}
|