UNPKG

@popmotion/popcorn

Version:

Utility functions for animation and interactions.

70 lines (69 loc) 1.79 kB
{ "name": "@popmotion/popcorn", "version": "0.4.4", "description": "Utility functions for animation and interactions.", "main": "lib/index.js", "types": "lib/index.d.ts", "module": "dist/popcorn.es.js", "jsnext:main": "dist/popcorn.es.js", "scripts": { "build": "rollup -c", "watch": "rollup -c -w", "lint": "tslint 'src/**/*.{ts,tsx}' -e '**/_tests/**'", "test": "jest --maxWorkers=2", "measure": "gzip -c dist/popcorn.min.js | wc -c", "prepublishOnly": "yarn lint && yarn test && yarn build" }, "files": [ "lib", "dist" ], "repository": { "type": "git", "url": "git+https://github.com/Popmotion/popmotion.git" }, "keywords": [ "animation", "raf" ], "author": "Matt Perry", "license": "MIT", "bugs": { "url": "https://github.com/Popmotion/popmotion/issues" }, "homepage": "https://github.com/Popmotion/popmotion#readme", "jest": { "moduleFileExtensions": [ "ts", "js" ], "moduleNameMapper": { "@popmotion/easing": "<rootDir>/../../easing/src", "style-value-types": "<rootDir>/../../style-value-types/src", "framesync": "<rootDir>/../../framesync/src" }, "transform": { "\\.(ts)$": "../../../node_modules/ts-jest/preprocessor.js" }, "testRegex": "/_tests/.*\\.(ts|js)$", "rootDir": "src" }, "prettier": { "parser": "typescript", "singleQuote": true }, "dependencies": { "@popmotion/easing": "^1.0.1", "framesync": "^4.0.1", "hey-listen": "^1.0.8", "style-value-types": "^3.1.7", "tslib": "^1.10.0" }, "devDependencies": { "@types/jest": "^24.0.11", "jest": "24.2.0-alpha.0", "rollup-plugin-typescript2": "^0.25.2", "tslib": "^1.10.0", "tslint-react": "^4.1.0" } }