UNPKG

@phantomstudios/ft-lib

Version:

A collection of Javascript UI & tracking utils for FT sites

82 lines (81 loc) 2.62 kB
{ "name": "@phantomstudios/ft-lib", "description": "A collection of Javascript UI & tracking utils for FT sites", "version": "0.5.1", "main": "lib/index.js", "types": "lib/index.d.ts", "homepage": "https://github.com/phantomstudios/ft-lib#readme", "repository": { "type": "git", "url": "https://github.com/phantomstudios/ft-lib.git" }, "bugs": { "url": "https://github.com/phantomstudios/ft-lib/issues" }, "keywords": [ "FT", "tracking", "Permutive" ], "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@phantom.agency)", "license": "MIT", "devDependencies": { "@babel/preset-env": "^7.14.2", "@babel/preset-typescript": "^7.13.0", "@eslint/compat": "^1.2.9", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.25.1", "@financial-times/cmp-client": "^6.2.0", "@financial-times/o-footer": "^9.2.10", "@financial-times/o-header": "^11.2.0", "@financial-times/o-tracking": "^4.9.0", "@financial-times/o-viewport": "^5.1.2", "@types/debug": "^4.1.7", "@types/jest": "^30.0.0", "@types/youtube": "^0.1.0", "@types/yup": "^0.32.0", "@typescript-eslint/eslint-plugin": "^8.31.1", "@typescript-eslint/parser": "^8.31.1", "babel-eslint": "^10.1.0", "babel-jest": "^30.2.0", "debug": "^4.3.2", "eslint": "^9.25.1", "eslint-config-prettier": "^10.1.2", "eslint-plugin-import": "^2.23.3", "eslint-plugin-prettier": "^5.2.6", "eslint-plugin-react": "^7.23.2", "eslint-plugin-react-hooks": "^5.2.0", "globals": "^16.0.0", "jest": "^30.2.0", "jest-environment-jsdom": "^30.2.0", "npm-run-all": "^4.1.5", "prettier": "^3.5.3", "set-value": ">=4.0.1", "ts-jest": "^29.3.2", "typescript": "^5.8.3" }, "dependencies": { "yup": "^1.0.2" }, "peerDependencies": { "@financial-times/cmp-client": "^6.1.2", "@financial-times/o-tracking": "^4.5.1", "@financial-times/o-viewport": "^5.1.2" } }