UNPKG

@phntms/ft-react-components

Version:

A collection of UI/utility React/NextJS components for Phantom FT sites

76 lines 2.47 kB
{ "name": "@phntms/ft-react-components", "description": "A collection of UI/utility React/NextJS components for Phantom FT sites", "version": "0.0.8-rc8", "main": "lib/index.js", "types": "lib/index.d.ts", "homepage": "https://github.com/phantomstudios/ft-react-components#readme", "repository": { "type": "git", "url": "https://github.com/phantomstudios/ft-react-components.git" }, "keywords": [ "react", "hooks", "hook", "react-hook", "FT" ], "scripts": { "build": "tsc", "build:types": "tsc --emitDeclarationOnly", "prepublishOnly": "npm run build", "test": "jest --verbose", "test:watch": "jest --verbose --watch", "coverage": "jest --coverage", "lint": "NODE_ENV=test npm-run-all --parallel lint:*", "lint:js": "eslint \"src/**/*.{js,jsx,ts,tsx}\"", "lint:format": "prettier \"**/*.{md,html,yaml,yml}\" --check", "lint:type-check": "tsc --noEmit", "fix": "npm-run-all --sequential fix:*", "fix:js": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix", "fix:format": "prettier \"**/*.{md,html,yaml,yml}\" --write", "depcheck": "npx npm-check --update" }, "author": "Dhia Shakiry (dhia@phntms.com)", "license": "MIT", "peerDependencies": { "@financial-times/o-cookie-message": "^5.1.2", "@financial-times/o-footer": "^7.0.12", "@financial-times/o-header": "^8.6.0", "classnames": "^2.3.1", "next": "^13.0.0", "react": "^18.0.0", "react-dom": "^18.0.0" }, "devDependencies": { "@babel/preset-env": "^7.14.2", "@babel/preset-typescript": "^7.13.0", "@testing-library/react": "^11.2.7", "@testing-library/react-hooks": "^6.0.0", "@types/jest": "^29.5.5", "@types/react": "^18.0.0", "@types/react-test-renderer": "^18.0.0", "@types/youtube": "^0.0.46", "@typescript-eslint/eslint-plugin": "^4.24.0", "@typescript-eslint/parser": "^4.24.0", "@babel/eslint-parser": "^7.22.15", "babel-jest": "^29.7.0", "browser-env": "^2.0.21", "eslint": "^7.26.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.23.3", "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-react": "^7.23.2", "eslint-plugin-react-hooks": "^4.2.0", "jest": "^29.7.0", "npm-run-all": "^4.1.5", "prettier": "^2.3.0", "react-test-renderer": "^18.0.0", "ts-jest": "^29.1.1", "typescript": "^5.2.2" }, "dependencies": { "@phntms/ft-lib": "0.2.0" } }