mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-04 09:48:08 +00:00
* Convert to using TypeScript Next.js v.9 allows converting an existing project to TS by simply renaming the files as TS files * Fix type errors: Type 'string' is not assignable to type 'number'. * Add mention about missing typings for javascript-time-ago * Add GA_INITIALIZED to window * Fix type error in feed transformers * Model MembershipInfoForm state and props with TS * Silence the typescript warning in MembershipInfoForm * Add threshold to Fader props * Fix Warning: Each child in a list should have a unique "key" prop. Sponsors don't have ids – name is probably unique and can be used as a key * Allow key as prop for SponsorLink * Add type of the props for SponsorLink
50 lines
1.4 KiB
JSON
50 lines
1.4 KiB
JSON
{
|
|
"name": "koodiklinikka",
|
|
"version": "1.0.0",
|
|
"description": "Koodiklinikka homepage",
|
|
"author": "Riku Rouvila <riku.rouvila@leonidasoy.fi>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"start": "next",
|
|
"build": "next build && next export",
|
|
"dev": "SERVER=http://localhost:9000/ ENV=development next",
|
|
"prod": "ENV=production next build && next export",
|
|
"lint": "eslint --ext .jsx --ext .js .",
|
|
"prettify": "prettier --write {components,pages,styles}/{*,**/*}.js*"
|
|
},
|
|
"dependencies": {
|
|
"@zeit/next-css": "^1.0.1",
|
|
"@zeit/next-less": "^1.0.1",
|
|
"@zeit/next-stylus": "^1.0.1",
|
|
"axios": "^0.19.0",
|
|
"classnames": "^2.2.6",
|
|
"font-awesome": "^4.7.0",
|
|
"less": "^3.10.3",
|
|
"lodash": "^4.17.15",
|
|
"next": "^9.1.2",
|
|
"next-fonts": "^0.19.0",
|
|
"parse-github-event": "^0.2.0",
|
|
"react": "^16.11.0",
|
|
"react-dom": "^16.11.0",
|
|
"react-ga": "^2.7.0",
|
|
"react-stripe-checkout": "^2.6.3",
|
|
"react-time-ago": "^5.0.7",
|
|
"stylus": "^0.54.7",
|
|
"twitter-text": "^3.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "12.12.5",
|
|
"@types/react": "16.9.11",
|
|
"babel-eslint": "^10.0.3",
|
|
"eslint": "^6.6.0",
|
|
"eslint-config-prettier": "^6.5.0",
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
"eslint-plugin-react": "^7.16.0",
|
|
"prettier": "^1.18.2",
|
|
"typescript": "3.6.4"
|
|
},
|
|
"prettier": {
|
|
"trailingComma": "es5"
|
|
}
|
|
}
|