Pavel b88f7e73da
[website] Add documentation (#403)
* setup md/mdx

* add test page

* setup mdx provider

* Add breadcrumbs

* links -> routes

* add information box

* add more remark plugins

* text InformationBox

* setup contentlayer

* add testing docs folder

* setup docs static generation

* add ssg to blog too

* add Shortcut component

* add SearchButton

* add hook for keyboard shortcuts

* update main docs page

* update main learn page content

* side-bar -> sidebar-menu

* rename docs pages

* add heading anchors, use new components

* add table of contents to docs

* move styling to breadcrumbs

* cleanup markdown examples

* change slugify fn

* update getting-started.md

* add highlight matches component

* update learn pages

* rename website InformationBox to Admonition

* ?enable user-select

* add static helpers to epics

* simplify components structure

* update insights layout

* add link tree utils

* add search engine

* update docs import

* update contenlayer

* add docs indexer

* support code block highlighting

* search index

* fix types

* remove supporting files

* update tree builder

* make build work

* update docs

* update label

* update toc

* add config.json

* update menu

* search index import

* learn -> help

* fix md file

* update toc

* fix code snippets

* add help index route

* remove testing files

* add original docs

* migrate getting started

* migrate messaging-and-web3-browser docs

* migrate network-nodes-and-statistics docs

* handle empty content

* add navigation config

* wip

* migrate status-wallet docs

* migrate to new admonitions format

* migrate your-profile-and-preferences docs

* migrate part of status-communities docs

* mv

* rm log

* index

* fix lint

* fix warn

* fix title

* fix docs layout

* udpate next.config

* use lowercase lang

* generate contentlayer types before typechecking

* update docs images

* update help routes

---------

Co-authored-by: Felicio Mununga <felicio@users.noreply.github.com>
2023-06-27 21:30:11 +01:00

87 lines
2.5 KiB
JSON

{
"name": "@status-im/components",
"version": "0.0.1",
"sideEffects": [
"*.css"
],
"private": true,
"#module": "./src/index.tsx",
"types": "./src/index.tsx",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"#types": "./dist/types/index.d.ts",
"files": [
"types",
"dist"
],
"scripts": {
"dev": "vite build --watch --mode development",
"build": "vite build",
"postbuild": "yarn build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly || true",
"lint": "eslint src",
"typecheck": "tsc",
"storybook": "node ./scripts/storybook.js",
"storybook:dev": "storybook dev -p 3001",
"storybook:build": "storybook build",
"clean": "rimraf node_modules dist .turbo storybook-static .tamagui"
},
"peerDependencies": {
"react": "^18.2.0"
},
"dependencies": {
"@radix-ui/react-accordion": "^1.1.1",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-dialog": "^1.0.3",
"@radix-ui/react-dropdown-menu": "^2.0.4",
"@radix-ui/react-popover": "^1.0.5",
"@radix-ui/react-tabs": "^1.0.3",
"@radix-ui/react-toast": "^1.1.3",
"@radix-ui/react-tooltip": "^1.0.5",
"@status-im/colors": "*",
"@status-im/icons": "*",
"@tamagui/animations-css": "1.11.1",
"@tamagui/animations-react-native": "1.11.1",
"@tamagui/core": "1.11.1",
"@tamagui/font-inter": "1.11.1",
"@tamagui/react-native-media-driver": "1.11.1",
"@tamagui/shorthands": "1.11.1",
"@tamagui/theme-base": "1.11.1",
"date-fns": "^2.30.0",
"expo-blur": "^12.2.2",
"expo-linear-gradient": "^12.1.2",
"react-day-picker": "^8.7.1",
"tamagui": "1.11.1",
"zustand": "^4.3.7"
},
"devDependencies": {
"@storybook/addon-essentials": "7.0.2",
"@storybook/addon-interactions": "7.0.2",
"@storybook/addon-links": "7.0.2",
"@storybook/blocks": "7.0.2",
"@storybook/react": "7.0.2",
"@storybook/react-vite": "7.0.2",
"@storybook/testing-library": "^0.1.0",
"@tamagui/vite-plugin": "1.11.1",
"@vitejs/plugin-react-swc": "^3.2.0",
"@status-im/eslint-config": "*",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-native-svg": "^13.8.0",
"react-native-web": "^0.18.12",
"storybook": "7.0.2",
"storybook-addon-designs": "7.0.0-beta.2",
"storybook-dark-mode": "^3.0.0",
"vite": "^4.2.1"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs}": [
"eslint",
"prettier --write"
],
"*.{md,mdx,yml,yaml,json}": [
"prettier --write"
]
}
}