UNPKG

react-lightning-design-system

Version:

Salesforce Lightning Design System components built with React

111 lines (110 loc) 3.9 kB
{ "name": "react-lightning-design-system", "version": "6.0.0-beta.6", "description": "Salesforce Lightning Design System components built with React", "main": "lib/scripts/index.js", "module": "module/scripts/index.js", "types": "lib/scripts/index.d.ts", "keywords": [ "react", "react-component", "salesforce", "lightning", "lightning design system", "slds", "tab", "form", "datepicker", "modal" ], "repository": { "type": "git", "url": "https://github.com/mashmatrix/react-lightning-design-system.git" }, "scripts": { "storybook": "start-storybook -s ./node_modules/@salesforce-ux/design-system -p 9001 -c .storybook", "test": "echo \"no test to run\"", "pretest:visual": "storycap --serverCmd \"NODE_ENV=test npm run storybook -- --ci\" http://localhost:9001 -o images --serverTimeout 3600000 --captureTimeout 10000 --delay 2000", "test:visual": "reg-suit -v run", "type-check": "tsc --noEmit", "type-check:watch": "npm run type-check -- --watch", "format": "run-p format:src format:stories", "format:src": "npm run lint:src -- --fix", "format:stories": "npm run lint:stories -- --fix", "lint": "run-p lint:src lint:stories", "lint:src": "eslint --ext .ts,.tsx src/scripts/**", "lint:stories": "eslint --ext .ts,.tsx stories/**", "build": "run-p build:lib build:module build:types", "build:lib": "babel -d lib/ src/ --extensions \".ts,.tsx\" --source-maps true", "build:module": "BUILD_TARGET=module babel -d module/ src/ --extensions \".ts,.tsx\" --source-maps true", "build:types": "tsc -p tsconfig.types.json", "build:assets": "cp -r node_modules/@salesforce-ux/design-system/assets public", "build:storybook": "build-storybook -o public", "deploy": "run-s build:storybook build:assets deploy:ghpage", "deploy:ghpage": "gh-pages -d public" }, "files": [ "lib", "module", "src" ], "author": "Shinichi Tomita <shinichi.tomita@gmail.com>", "license": "MIT", "dependencies": { "@babel/runtime": "^7.17.9", "classnames": "^2.3.1", "dayjs": "^1.11.2", "keycoder": "^1.1.1", "react-merge-refs": "^1.1.0", "react-relative-portal": "github:stomita/react-relative-portal#dist", "svg4everybody": "^2.1.9" }, "devDependencies": { "@babel/cli": "^7.23.0", "@babel/core": "^7.23.3", "@babel/plugin-transform-runtime": "^7.23.3", "@babel/preset-env": "^7.23.3", "@babel/preset-react": "^7.23.3", "@babel/preset-typescript": "^7.23.3", "@salesforce-ux/design-system": "^2.22.2", "@storybook/addon-actions": "^6.5.16", "@storybook/addon-controls": "^6.5.16", "@storybook/addon-docs": "^6.5.16", "@storybook/addon-storyshots": "^6.5.16", "@storybook/react": "^6.5.16", "@storybook/theming": "^6.5.16", "@types/classnames": "^2.2.7", "@types/react": "^18.2.37", "@types/react-dom": "^18.2.15", "@types/svg4everybody": "^2.1.1", "@typescript-eslint/eslint-plugin": "^6.10.0", "@typescript-eslint/parser": "^6.10.0", "babel-loader": "^9.1.3", "eslint": "^8.53.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-prettier": "^5.0.1", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "gh-pages": "^0.12.0", "npm-run-all": "^4.0.1", "prettier": "^3.0.3", "react": "^18.2.0", "react-docgen-typescript-plugin": "^1.0.5", "react-dom": "^18.2.0", "reg-keygen-git-hash-plugin": "^0.11.1", "reg-notify-github-plugin": "^0.11.1", "reg-publish-s3-plugin": "^0.11.0", "reg-suit": "^0.11.1", "storycap": "^3.1.7", "typescript": "^5.2.2" }, "peerDependencies": { "@types/react": "^18.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" }, "resolutions": { "@types/react": "^18.2.37" } }