UNPKG

@renopp/react-amphtml

Version:

Use amphtml components inside your React apps easily!

86 lines (85 loc) 2.71 kB
{ "name": "@renopp/react-amphtml", "version": "5.0.0", "description": "Use amphtml components inside your React apps easily!", "main": "./index.js", "typings": "./index.d.ts", "files": [ "dist/*", "index.*", "helpers.*", "setup.*" ], "scripts": { "codegen": "babel-node --extensions='.js,.ts,.tsx' ./codegen/index.ts > ./src/amphtml/amphtml.tsx", "prebuild": "rimraf ./dist", "build": "rollup -c ./rollup.config.js", "postbuild": "npm run ts-declarations", "prepublishOnly": "npm run build", "lint": "eslint --ext .ts --ext .tsx --ext .js .", "test": "jest --no-cache", "format": "prettier --write '**/*.js' '**/*.jsx' '**/*.ts' '**/*.tsx' '**/*.md'", "typecheck": "tsc -p ./tsconfig.json --noEmit", "ts-declarations": "tsc -p ./tsconfig.declarations.json --emitDeclarationOnly --declaration" }, "keywords": [ "react", "amphtml" ], "repository": { "type": "git", "url": "https://github.com/renopp/react-amphtml" }, "author": "renopp", "license": "MIT", "devDependencies": { "@babel/core": "^7.4.5", "@babel/node": "^7.4.5", "@babel/plugin-proposal-export-default-from": "^7.2.0", "@babel/preset-env": "^7.4.5", "@babel/preset-react": "^7.0.0", "@babel/preset-typescript": "^7.3.3", "@betit/rollup-plugin-rename-extensions": "0.0.4", "@types/amphtml-validator": "^1.0.0", "@types/enzyme": "^3.9.3", "@types/enzyme-adapter-react-16": "^1.0.5", "@types/jest": "^24.0.13", "@types/prettier": "^1.16.4", "@types/react": "^16.8.19", "@types/react-dom": "^16.8.4", "@typescript-eslint/eslint-plugin": "^1.9.0", "@typescript-eslint/parser": "^1.9.0", "amphtml-validator": "^1.0.23", "amphtml-validator-rules": "^3.0.0", "babel-eslint": "^10.0.1", "babel-jest": "^24.8.0", "babel-plugin-codegen": "^3.0.0", "enzyme": "^3.9.0", "enzyme-adapter-react-16": "^1.13.2", "eslint": "^5.16.0", "eslint-config-airbnb": "^17.1.0", "eslint-config-prettier": "^4.3.0", "eslint-plugin-import": "^2.17.3", "eslint-plugin-jest": "^22.6.4", "eslint-plugin-jsx-a11y": "^6.2.1", "eslint-plugin-prettier": "^3.1.0", "eslint-plugin-react": "^7.13.0", "globby": "^9.2.0", "jest": "^24.8.0", "prettier": "^1.17.1", "react": "^16.8.6", "react-dom": "^16.8.6", "react-test-renderer": "^16.8.6", "rimraf": "^2.6.3", "rollup": "^1.13.0", "rollup-plugin-babel": "^4.3.2", "rollup-plugin-node-resolve": "^5.0.1", "typescript": "^3.5.1" }, "dependencies": { "prop-types": "^15.7.2" }, "peerDependencies": { "react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }