mirror of
https://github.com/animate-css/animate.css.git
synced 2024-11-17 17:45:17 +01:00
80 lines
2.4 KiB
JSON
80 lines
2.4 KiB
JSON
{
|
|
"name": "animate.css",
|
|
"version": "4.1.1",
|
|
"description": "A cross-browser library of CSS animations",
|
|
"main": "animate.css",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/animate-css/animate.css.git"
|
|
},
|
|
"author": {
|
|
"name": "Animate.css"
|
|
},
|
|
"homepage": "https://animate.style/",
|
|
"license": "Hippocratic-2.1",
|
|
"animateConfig": {
|
|
"prefix": "animate__"
|
|
},
|
|
"scripts": {
|
|
"start": "npm-run-all raw prod compat",
|
|
"compat": "npx postcss source/animate.css -o animate.compat.css --no-map --env compat",
|
|
"dev": "npx postcss source/animate.css -o animate.css --no-map --env development -w",
|
|
"raw": "npx postcss source/animate.css -o animate.css --no-map --env development",
|
|
"prod": "npx postcss source/animate.css -o animate.min.css --no-map --env production",
|
|
"format": "prettier --write \"**/*.{js,json,md,css}\"",
|
|
"docs:library": "npx postcss source/animate.css -o ./docs/animate.min.css --no-map --env production",
|
|
"docs:pages": "node ./docsSource/index.js",
|
|
"docs": "npm-run-all docs:library docs:pages",
|
|
"version": "npm-run-all start docs && git add -A docs animate.css animate.min.css animate.compat.css",
|
|
"postversion": "git push && git push --tags",
|
|
"prepare": "husky install",
|
|
"dev-js": "rollup -c rollup.config.js -w",
|
|
"build-js": "rollup -c rollup.config.js"
|
|
},
|
|
"browserslist": [
|
|
"> 3%",
|
|
"last 2 versions"
|
|
],
|
|
"style": "./animate.css",
|
|
"jspm": {
|
|
"main": "animate.css!",
|
|
"format": "global",
|
|
"directories": {
|
|
"lib": "./"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"autoprefixer": "^10.4.7",
|
|
"cssnano": "^5.0.17",
|
|
"eslint": "^7.32.0",
|
|
"husky": "^7.0.4",
|
|
"lint-staged": "^11.2.6",
|
|
"markdown-it": "^12.3.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"postcss": "^8.4.14",
|
|
"postcss-cli": "^8.3.1",
|
|
"postcss-header": "^3.0.1",
|
|
"postcss-import": "^14.0.2",
|
|
"postcss-prefixer": "^3.0.0",
|
|
"postcss-preset-env": "^6.7.0",
|
|
"prettier": "^2.7.1"
|
|
},
|
|
"lint-staged": {
|
|
"*.{mjs,js,json,md,css}": "prettier --write"
|
|
},
|
|
"files": [
|
|
"animate.compat.css",
|
|
"animate.min.css",
|
|
"animate.css",
|
|
"source/**/*.css",
|
|
"js/**/*.js"
|
|
],
|
|
"exports": {
|
|
"./js": {
|
|
"import": "./animate-css.mjs",
|
|
"require": "./animate-css.cjs"
|
|
}
|
|
}
|
|
}
|