UNPKG

react-pose

Version:

A declarative animation library for React

92 lines (91 loc) 2.58 kB
{ "name": "react-pose", "version": "4.0.10", "description": "A declarative animation library for React", "main": "./lib/index.js", "module": "./dist/react-pose.es.js", "types": "./lib/index.d.ts", "scripts": { "build": "rollup -c && yarn measure", "watch": "rollup -c -w", "test": "jest --maxWorkers=2", "lint": "tslint 'src/**/*.{ts,tsx}' -e '**/_tests/**'", "measure": "gzip -c dist/react-pose.js | wc -c", "prettier": "prettier ./src/* --write", "prepublishOnly": "yarn prettier && yarn lint && yarn build" }, "repository": { "type": "git", "url": "https://github.com/Popmotion/popmotion/tree/master/packages/react-pose" }, "keywords": [ "animation", "dom", "declarative", "popmotion", "react", "react animation" ], "author": "Matt Perry", "license": "MIT", "peerDependencies": { "react": "^16.3.2", "react-dom": "^16.3.2" }, "devDependencies": { "@types/jest": "^23.1.1", "@types/react": "^16.3.16", "@types/react-dom": "^16.0.7", "@types/react-is": "^16.5.0", "jest": "^23.1.0", "jest-cli": "^23.1.0", "prettier": "1.11.1", "react": "^16.3.2", "react-dom": "^16.3.2", "react-testing-library": "^5.2.1", "rollup": "^0.59.1", "rollup-plugin-commonjs": "^9.1.3", "rollup-plugin-node-resolve": "^3.3.0", "rollup-plugin-replace": "^2.0.0", "rollup-plugin-typescript2": "^0.25.2", "rollup-plugin-uglify": "^3.0.0" }, "dependencies": { "@emotion/is-prop-valid": "^0.7.3", "hey-listen": "^1.0.5", "popmotion-pose": "^3.4.10", "tslib": "^1.10.0" }, "unpkg": "./dist/react-pose.js", "prettier": { "parser": "typescript", "singleQuote": true }, "jest": { "moduleFileExtensions": [ "ts", "tsx", "js" ], "transform": { "\\.(ts|tsx)$": "../../../node_modules/ts-jest/preprocessor.js" }, "moduleNameMapper": { "@popmotion/easing": "<rootDir>/../../easing/src", "@popmotion/popcorn": "<rootDir>/../../popcorn/src", "popmotion-pose": "<rootDir>/../../popmotion-pose/src", "popmotion": "<rootDir>/../../popmotion/src", "pose-core": "<rootDir>/../../pose-core/src", "style-value-types": "<rootDir>/../../style-value-types/src", "stylefire": "<rootDir>/../../stylefire/src", "framesync": "<rootDir>/../../framesync/src" }, "testRegex": "/_tests/.*\\.(ts|tsx|js)$", "rootDir": "src", "globals": { "ts-jest": { "tsConfigFile": "../tsconfig.jest.json" } } } }