UNPKG

@prisma-cms/component

Version:
139 lines (138 loc) 4.11 kB
{ "name": "@prisma-cms/component", "description": "React component for @prisma-cms", "version": "2.3.1", "private": false, "main": "dist", "scripts": { "dev": "nodemon", "start": "cross-env NODE_ENV=production node dev/server/dist/index.js", "clean": "rimraf ./dist", "build": "tsc -p tsconfig.build.json", "build:server": "rimraf ./dev/server/dist && next build && tsc --project tsconfig.server.json", "build:server:analyze": "ANALYZE=true yarn build:server", "types": "tsc --pretty --noEmit -p tsconfig.types.json", "format": "prettier --write .", "lint": "eslint . --ext ts --ext tsx --ext js", "test": "jest", "test:all": "yarn lint && yarn types && yarn test", "storybook": "start-storybook -p 6006", "cy:open": "cypress open", "cy:run": "cypress run", "build-storybook": "build-storybook", "preversion": "yarn test && yarn clean && yarn build", "postversion": "yarn run npm publish", "postpublish": "git push origin --all; git push origin --tags" }, "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "yarn run types" } }, "lint-staged": { "*.@(ts|tsx)": [ "yarn lint", "yarn format" ] }, "dependencies": { "@prisma-cms/context": "^2.0.2", "cross-fetch": "^3.1.4", "graphql": "^15.3.0", "material-ui": "1.0.0-beta.43", "roddeh-i18n": "^1.2.0", "urijs": "^1.19.2", "subscriptions-transport-ws": "^0.9.18" }, "devDependencies": { "@apollo/client": "^3.2.5", "@babel/plugin-transform-typescript": "^7.12.1", "@next/bundle-analyzer": "^9.5.5", "@storybook/addon-actions": "^6.4.0", "@storybook/addon-docs": "^6.4.0", "@storybook/addon-links": "^6.4.0", "@storybook/react": "^6.4.0", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/react-hooks": "^3.4.2", "@testing-library/user-event": "^12.1.10", "@types/chai": "^4.2.14", "@types/cypress": "^1.1.3", "@types/express": "^4.17.9", "@types/http-proxy-middleware": "^0.19.3", "@types/jest": "^26.0.15", "@types/node": "^12.0.0", "@types/react": "^17.0.0", "@types/react-dom": "^17.0.0", "@types/styled-components": "^5.1.4", "@types/urijs": "^1.19.13", "@typescript-eslint/eslint-plugin": "^2.25.0", "@typescript-eslint/parser": "^2.25.0", "chai": "^4.2.0", "cross-env": "^7.0.2", "css-loader": "^5.0.1", "cypress": "^6.2.0", "dotenv": "^8.2.0", "eslint": "^7.0.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-cypress": "^2.11.2", "eslint-plugin-deprecate": "^0.7.0", "eslint-plugin-react": "^7.19.0", "eslint-plugin-react-hooks": "^4.2.0", "http-proxy-middleware": "^1.0.6", "husky": "^4.3.0", "jest": "^26.6.3", "jest-styled-components": "^7.0.3", "jest-watch-typeahead": "^0.5.0", "lint-staged": "^10.5.1", "moment": "^2.29.1", "moment-locales-webpack-plugin": "^1.2.0", "next": "^12.0.4", "nodemon": "^2.0.13", "npm": "^6.14.8", "prettier": "^2.1.2", "react": "^17.0.1", "react-dom": "^17.0.1", "rimraf": "^3.0.2", "sass-loader": "^10.1.0", "style-loader": "^2.0.0", "styled-components": "^5.2.1", "ts-jest": "^26.4.3", "ts-node": "^9.0.0", "typescript": "^4.5.2", "typescript-styled-plugin": "^0.15.0" }, "resolutions": {}, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "publishConfig": { "registry": "https://registry.npmjs.org" }, "keywords": [ "prisma-cms", "front", "react", "component" ], "author": "Fi1osof", "license": "ISC", "repository": { "type": "git", "url": "git+https://github.com/prisma-cms/component.git" }, "bugs": { "url": "https://github.com/prisma-cms/component/issues" }, "homepage": "https://github.com/prisma-cms/component#readme" }