animation-frame-polyfill
Version:
Polyfill requestAnimationFrame and cancelAnimationFrame
62 lines (61 loc) • 1.74 kB
JSON
{
"name": "animation-frame-polyfill",
"title": "Animation Frame Polyfill",
"description": "Polyfill requestAnimationFrame and cancelAnimationFrame",
"version": "1.0.2",
"license": "MIT",
"author": {
"email": "eric@webdeveric.com",
"name": "Eric King",
"url": "http://webdeveric.com/"
},
"contributors": [],
"keywords": [
"requestAnimationFrame",
"cancelAnimationFrame",
"cancel",
"request",
"animation",
"frame",
"polyfill"
],
"homepage": "https://github.com/webdeveric/animation-frame-polyfill#readme",
"repository": {
"type": "git",
"url": "https://github.com/webdeveric/animation-frame-polyfill.git"
},
"bugs": {
"url": "https://github.com/webdeveric/animation-frame-polyfill/issues"
},
"main": "lib/animation-frame-polyfill.cjs.js",
"module": "lib/animation-frame-polyfill.module.js",
"jsnext:main": "lib/animation-frame-polyfill.module.js",
"browserslist": [
"IE 11",
"last 3 versions"
],
"files": [
"lib/",
"src/"
],
"scripts": {
"clean": "rimraf ./lib",
"lint": "eslint --fix src",
"build:cjs": "babel src -o lib/animation-frame-polyfill.cjs.js --no-babelrc --presets=@babel/preset-env",
"build:module": "babel src -o lib/animation-frame-polyfill.module.js",
"prebuild": "npm run clean",
"build": "npm run build:cjs && npm run build:module",
"prepublish": "npm run lint && npm run build"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/eslint-parser": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"core-js": "^3.7.0",
"eslint": "^7.13.0",
"eslint-config-webdeveric": "^0.7.0",
"rimraf": "^3.0.2"
}
}