mirror of
https://github.com/zhigang1992/react.git
synced 2026-01-30 22:48:09 +08:00
72 lines
2.0 KiB
JSON
72 lines
2.0 KiB
JSON
{
|
|
"name": "@zeit-ui/react",
|
|
"version": "0.0.1-beta.14",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.es.js",
|
|
"browser": "dist/index.umd.js",
|
|
"style": "dist/index.css",
|
|
"types": "dist/index.d.ts",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "yarn run docs-collect && next dev",
|
|
"docs-build": "yarn run docs-collect && next build",
|
|
"docs-start": "next start",
|
|
"docs-collect": "node scripts/collect-meta.js",
|
|
"clear": "rm -rf dist",
|
|
"lint": "eslint \"{components,lib}/**/*.{js,ts,tsx}\"",
|
|
"now-build": "yarn run docs-build",
|
|
"build": "yarn run clear && webpack --config scripts/webpack.config.js && tsc -p ./scripts",
|
|
"release": "yarn run build && yarn publish --access public --non-interactive"
|
|
},
|
|
"files": [
|
|
"/dist"
|
|
],
|
|
"eslintConfig": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"eslint-config-ts-lambdas",
|
|
"eslint-config-ts-lambdas/react"
|
|
],
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"settings": {
|
|
"react": {
|
|
"pragma": "React",
|
|
"version": "detect"
|
|
}
|
|
},
|
|
"parserOptions": {
|
|
"project": "./tsconfig.json",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-typescript": "^7.8.3",
|
|
"@mapbox/rehype-prism": "^0.4.0",
|
|
"@mdx-js/loader": "^1.5.7",
|
|
"@next/mdx": "^9.2.2",
|
|
"@types/react": "^16.9.22",
|
|
"@types/react-dom": "^16.9.5",
|
|
"@types/styled-jsx": "^2.2.8",
|
|
"@typescript-eslint/eslint-plugin": "^2.24.0",
|
|
"@typescript-eslint/parser": "^2.24.0",
|
|
"babel-loader": "^8.0.6",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-ts-lambdas": "^1.2.0",
|
|
"eslint-plugin-react": "^7.19.0",
|
|
"extract-mdx-metadata": "^1.0.0",
|
|
"fs-extra": "^8.1.0",
|
|
"next": "^9.3.2",
|
|
"react": "^16.13.0",
|
|
"react-dom": "^16.13.0",
|
|
"react-live": "^2.2.2",
|
|
"styled-jsx": "^3.2.4",
|
|
"typescript": "^3.8.2",
|
|
"webpack": "^4.41.6",
|
|
"webpack-cli": "^3.3.11"
|
|
},
|
|
"dependencies": {}
|
|
} |