49 lines
1.6 KiB
JSON
49 lines
1.6 KiB
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"prestart": "dotnet tool restore",
|
|
"start": "dotnet fable watch src/App.fsproj --sourceMaps --run webpack serve",
|
|
"build": "dotnet fable src/App.fsproj --run webpack --node-env production",
|
|
"css": "tailwind build -i content/tailwind-source.css -o content/tailwind-generated.css",
|
|
"browsers": "browserslist --update-db",
|
|
"prebuild": "dotnet tool restore",
|
|
"test:live": "dotnet fable watch tests --run webpack-dev-server --config ./webpack.tests.js",
|
|
"build:test": "dotnet fable tests && webpack --config webpack.tests.js",
|
|
"pretest": "dotnet tool restore",
|
|
"test": "dotnet fable tests --outDir dist/tests && mocha dist/tests -r esm"
|
|
},
|
|
"browserslist": [
|
|
"> 0.25%",
|
|
"not dead"
|
|
],
|
|
"dependencies": {
|
|
"date-fns": "^2.16.1",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.16.5",
|
|
"@babel/preset-env": "^7.16.5",
|
|
"@babel/preset-react": "^7.16.5",
|
|
"@babel/runtime": "^7.12.5",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.4",
|
|
"autoprefixer": "^10.4.0",
|
|
"babel-loader": "^8.2.3",
|
|
"browserslist": "^4.19.1",
|
|
"copy-webpack-plugin": "^10.2.0",
|
|
"core-js": "^3.20.0",
|
|
"css-loader": "^6.5.1",
|
|
"cssnano": "^5.0.14",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"mini-css-extract-plugin": "^2.4.5",
|
|
"postcss": "^8.4.5",
|
|
"postcss-loader": "^6.2.1",
|
|
"react-refresh": "^0.11.0",
|
|
"source-map-loader": "^3.0.0",
|
|
"style-loader": "^3.3.1",
|
|
"tailwindcss": "^3.0.7",
|
|
"webpack": "^5.65.0",
|
|
"webpack-cli": "^4.9.1",
|
|
"webpack-dev-server": "^4.7.1"
|
|
}
|
|
}
|