fennec-fe/package.json

83 lines
2.4 KiB
JSON
Raw Normal View History

2021-01-30 20:12:48 +08:00
{
"private": true,
"name": "fennec-fe",
"version": "0.0.0",
"license": "MIT",
"scripts": {
2021-04-04 12:19:14 +08:00
"build": "preact build --no-prerender",
"serve": "sirv build --port 7123 --cors --single",
"dev": "preact watch --port 7123",
"predev": "npm run graphql",
"graphql": "graphql-codegen --config codegen.yml",
2021-01-30 20:12:48 +08:00
"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": {
2021-04-04 12:19:14 +08:00
"@apollo/client": "^3.3.13",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
2021-02-14 15:52:33 +08:00
"@fortawesome/react-fontawesome": "^0.1.14",
2021-04-04 12:19:14 +08:00
"@tailwindcss/postcss7-compat": "^2.0.4",
"autoprefixer": "^9.8.6",
2021-04-04 12:19:14 +08:00
"classnames": "^2.3.1",
"formik": "^2.2.6",
"graphql": "^15.5.0",
2021-04-04 12:19:14 +08:00
"mobx": "^6.1.8",
"mobx-react": "^7.1.0",
"postcss": "^7.0.35",
2021-04-04 12:19:14 +08:00
"preact": "^10.5.13",
2021-01-30 20:12:48 +08:00
"preact-jsx-chai": "^3.0.0",
"preact-markup": "^2.1.1",
2021-04-04 12:19:14 +08:00
"preact-render-to-string": "^5.1.18",
"ramda": "^0.27.1",
2021-03-10 21:43:55 +08:00
"subscriptions-transport-ws": "^0.9.18",
2021-04-05 10:00:33 +08:00
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.3",
"wouter-preact": "^2.7.4"
2021-01-30 20:12:48 +08:00
},
"devDependencies": {
2021-04-04 12:19:14 +08:00
"@graphql-codegen/cli": "^1.21.3",
"@graphql-codegen/introspection": "^1.18.1",
2021-04-04 12:19:14 +08:00
"@graphql-codegen/typescript-operations": "^1.17.15",
"@graphql-codegen/typescript-react-apollo": "^2.2.3",
"@teamsupercell/typings-for-css-modules-loader": "^2.5.1",
"@types/classnames": "^2.2.11",
2021-01-30 20:12:48 +08:00
"@types/enzyme": "^3.10.5",
2021-04-04 12:19:14 +08:00
"@types/jest": "^26.0.22",
"@types/ramda": "0.27.35",
2021-01-30 20:12:48 +08:00
"@types/webpack-env": "^1.15.1",
2021-04-04 12:19:14 +08:00
"@types/ws": "^7.4.1",
2021-01-30 20:12:48 +08:00
"@typescript-eslint/eslint-plugin": "^2.25.0",
"@typescript-eslint/parser": "^2.25.0",
"css-loader": "^3.5.3",
"enzyme": "^3.11.0",
"enzyme-adapter-preact-pure": "^2.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
2021-04-04 12:19:14 +08:00
"eslint-plugin-react": "^7.23.1",
2021-01-30 20:12:48 +08:00
"eslint-plugin-react-hooks": "^3.0.0",
"husky": "^4.2.1",
"jest": "^26.2.2",
"jest-preset-preact": "^4.0.2",
"lint-staged": "^10.5.4",
2021-01-30 20:12:48 +08:00
"preact-cli": "^3.0.0",
"prettier": "^1.19.1",
"sass": "^1.32.8",
"sass-loader": "^10.1.1",
"sirv-cli": "^1.0.11",
"typescript": "^3.9.9"
2021-01-30 20:12:48 +08:00
}
}