162 lines
3.8 KiB
JSON
162 lines
3.8 KiB
JSON
{
|
|
"name": "@thream/website",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"release-it": {
|
|
"git": {
|
|
"commit": false,
|
|
"push": false,
|
|
"tag": false
|
|
},
|
|
"gitlab": {
|
|
"release": false
|
|
},
|
|
"npm": {
|
|
"publish": false
|
|
},
|
|
"hooks": {
|
|
"before:init": [
|
|
"npm run lint:docker",
|
|
"npm run lint:editorconfig",
|
|
"npm run lint:markdown",
|
|
"npm run lint:typescript",
|
|
"npm run build",
|
|
"npm run test",
|
|
"npm run lighthouse"
|
|
]
|
|
},
|
|
"plugins": {
|
|
"@release-it/conventional-changelog": {
|
|
"preset": "angular",
|
|
"infile": "CHANGELOG.md"
|
|
}
|
|
}
|
|
},
|
|
"jest": {
|
|
"roots": [
|
|
"<rootDir>"
|
|
],
|
|
"transform": {
|
|
"^.+\\.(js|jsx|ts|tsx)$": "babel-jest"
|
|
},
|
|
"moduleDirectories": [
|
|
"node_modules",
|
|
"./"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js",
|
|
"jsx",
|
|
"json",
|
|
"node"
|
|
],
|
|
"setupFilesAfterEnv": [
|
|
"@testing-library/jest-dom/extend-expect",
|
|
"@testing-library/react"
|
|
],
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"**/*.{js,jsx,ts,tsx}",
|
|
"!**/*.d.ts",
|
|
"!**/.next/**",
|
|
"!**/node_modules/**",
|
|
"!**/next.config.js",
|
|
"!**/workbox-*.js",
|
|
"!**/sw.js"
|
|
],
|
|
"coverageDirectory": "./coverage",
|
|
"coverageReporters": [
|
|
"text",
|
|
"cobertura"
|
|
]
|
|
},
|
|
"ts-standard": {
|
|
"ignore": [
|
|
".next",
|
|
".lighthouseci",
|
|
"coverage",
|
|
"node_modules",
|
|
"next-env.d.ts",
|
|
"**/workbox-*.js",
|
|
"**/sw.js"
|
|
],
|
|
"envs": [
|
|
"node",
|
|
"browser",
|
|
"jest"
|
|
],
|
|
"report": "stylish"
|
|
},
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"start": "next start",
|
|
"build": "next build",
|
|
"export": "next export",
|
|
"lint:commit": "commitlint",
|
|
"lint:docker": "dockerfilelint './Dockerfile' && dockerfilelint './Dockerfile.production'",
|
|
"lint:editorconfig": "editorconfig-checker",
|
|
"lint:markdown": "markdownlint '**/*.md' --dot --ignore node_modules",
|
|
"lint:typescript": "ts-standard",
|
|
"test": "jest",
|
|
"lighthouse": "lhci autorun",
|
|
"release": "release-it",
|
|
"postinstall": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@fontsource/poppins": "4.2.2",
|
|
"@fontsource/roboto": "4.2.3",
|
|
"axios": "0.21.1",
|
|
"date-and-time": "1.0.0",
|
|
"emoji-mart": "3.0.1",
|
|
"fastest-validator": "1.10.1",
|
|
"katex": "0.13.2",
|
|
"lodash": "4.17.21",
|
|
"next": "10.1.3",
|
|
"next-pwa": "5.2.14",
|
|
"next-translate": "1.0.6",
|
|
"normalize.css": "8.0.1",
|
|
"pretty-bytes": "5.6.0",
|
|
"react": "17.0.2",
|
|
"react-component-form": "1.3.0",
|
|
"react-dom": "17.0.2",
|
|
"react-infinite-scroll-component": "6.0.0",
|
|
"react-markdown": "5.0.3",
|
|
"react-textarea-autosize": "8.3.2",
|
|
"remark-gfm": "1.0.0",
|
|
"remark-math": "4.0.0",
|
|
"socket.io-client": "4.0.1",
|
|
"unified": "9.2.1",
|
|
"unist-util-visit": "2.0.3",
|
|
"universal-cookie": "4.0.4"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "12.1.1",
|
|
"@commitlint/config-conventional": "12.1.1",
|
|
"@lhci/cli": "0.7.1",
|
|
"@matejmazur/react-katex": "3.1.3",
|
|
"@release-it/conventional-changelog": "2.0.1",
|
|
"@styled-jsx/plugin-sass": "3.0.0",
|
|
"@testing-library/jest-dom": "5.11.10",
|
|
"@testing-library/react": "11.2.6",
|
|
"@types/date-and-time": "0.13.0",
|
|
"@types/emoji-mart": "3.0.4",
|
|
"@types/jest": "26.0.22",
|
|
"@types/lodash": "4.14.168",
|
|
"@types/node": "14.14.41",
|
|
"@types/react": "17.0.3",
|
|
"@types/styled-jsx": "2.2.8",
|
|
"@types/unist": "2.0.3",
|
|
"babel-jest": "26.6.3",
|
|
"dockerfilelint": "1.8.0",
|
|
"editorconfig-checker": "4.0.2",
|
|
"husky": "6.0.0",
|
|
"jest": "26.6.3",
|
|
"markdownlint-cli": "0.27.1",
|
|
"release-it": "14.6.1",
|
|
"sass": "1.32.10",
|
|
"ts-standard": "10.0.0",
|
|
"typescript": "4.2.4"
|
|
}
|
|
}
|