59 lines
1.5 KiB
JSON
59 lines
1.5 KiB
JSON
{
|
|
"private": true,
|
|
"name": "guesstimate",
|
|
"version": "0.0.0",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"build": "preact build --no-prerender",
|
|
"serve": "sirv build --port 8080 --cors --single",
|
|
"dev": "preact watch",
|
|
"lint": "eslint src/**/*.{js,jsx,ts,tsx}",
|
|
"test": "jest ./tests"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{css,md,scss}": "prettier --write",
|
|
"*.{js,jsx,ts,tsx}": "eslint --fix"
|
|
},
|
|
"eslintIgnore": [
|
|
"build/*"
|
|
],
|
|
"dependencies": {
|
|
"@types/bs58": "^4.0.1",
|
|
"bs58": "^4.0.1",
|
|
"bulma": "^0.8.2",
|
|
"preact": "^10.3.1",
|
|
"preact-jsx-chai": "^3.0.0",
|
|
"preact-markup": "^2.0.0",
|
|
"preact-render-to-string": "^5.1.4",
|
|
"preact-router": "^3.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^25.1.2",
|
|
"@types/webpack-env": "^1.15.1",
|
|
"@typescript-eslint/eslint-plugin": "^2.19.0",
|
|
"@typescript-eslint/parser": "^2.19.0",
|
|
"css-loader": "^1.0.1",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.10.0",
|
|
"eslint-plugin-prettier": "^3.1.2",
|
|
"eslint-plugin-react": "^7.18.3",
|
|
"husky": "^4.2.1",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^25.4.0",
|
|
"lint-staged": "^10.0.7",
|
|
"preact-cli": "^3.0.0-next.19",
|
|
"preact-render-spy": "^1.3.0",
|
|
"prettier": "^1.19.1",
|
|
"sirv-cli": "^1.0.0-next.3",
|
|
"ts-jest": "^25.2.0",
|
|
"ts-loader": "^7.0.1",
|
|
"typescript": "^3.7.5",
|
|
"typings-for-css-modules-loader": "^1.7.0"
|
|
}
|
|
}
|