mirror of
https://github.com/jambonz/next-static-site.git
synced 2025-12-19 04:47:44 +00:00
110 lines
2.5 KiB
JSON
110 lines
2.5 KiB
JSON
{
|
|
"name": "jambonz",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"prepare": "husky install",
|
|
"dev": "next",
|
|
"start": "next start",
|
|
"build": "next build",
|
|
"export": "next export",
|
|
"pretest": "node cypress/scripts/fixtures.js",
|
|
"test": "cypress run --headless --browser chrome",
|
|
"posttest": "rm -rf cypress/fixtures",
|
|
"lint": "eslint src/components src/lib pages --ext js"
|
|
},
|
|
"author": "Jambonz Developers",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"classnames": "^2.2.6",
|
|
"nanoid": "^3.1.22",
|
|
"next": "^12.1.4",
|
|
"next-plugin-preact": "^3.0.6",
|
|
"preact": "^10.7.2",
|
|
"preact-render-to-string": "^5.2.0",
|
|
"prismjs": "^1.23.0",
|
|
"react": "npm:@preact/compat",
|
|
"react-dom": "npm:@preact/compat",
|
|
"react-feather": "^2.0.9",
|
|
"react-ssr-prepass": "npm:preact-ssr-prepass"
|
|
},
|
|
"devDependencies": {
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-plugin-prismjs": "^2.0.1",
|
|
"cypress": "^7.7.0",
|
|
"env-cmd": "^10.1.0",
|
|
"eslint": "^7.26.0",
|
|
"eslint-config-react-app": "^6.0.0",
|
|
"eslint-plugin-flowtype": "^5.7.2",
|
|
"eslint-plugin-import": "^2.23.4",
|
|
"eslint-plugin-jsx-a11y": "^6.4.1",
|
|
"eslint-plugin-react": "^7.24.0",
|
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
"gray-matter": "^4.0.2",
|
|
"husky": "^6.0.0",
|
|
"lint-staged": "^12.4.1",
|
|
"remark": "^13.0.0",
|
|
"remark-gfm": "^1.0.0",
|
|
"remark-html": "^13.0.1",
|
|
"sass": "^1.32.8",
|
|
"sharp": "^0.30.4",
|
|
"yamljs": "^0.3.0"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": "yarn lint"
|
|
},
|
|
"eslintConfig": {
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended",
|
|
"react-app"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 12,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"rules": {
|
|
"react/prop-types": "off",
|
|
"react/react-in-jsx-scope": "off",
|
|
"jsx-a11y/anchor-is-valid": "off",
|
|
"jsx-a11y/alt-text": "off",
|
|
"indent": [
|
|
"error",
|
|
2
|
|
],
|
|
"quotes": [
|
|
"error",
|
|
"single"
|
|
],
|
|
"semi": [
|
|
"error",
|
|
"always"
|
|
]
|
|
},
|
|
"ignorePatterns": [
|
|
"**/node_modules/*",
|
|
"**/out/*",
|
|
"**/.next/*",
|
|
"next.config.js",
|
|
"**/cypress/*"
|
|
]
|
|
}
|
|
}
|