UNPKG

let-it-go

Version:

❄️ Let your website snow instantly

68 lines 2 kB
{ "name": "let-it-go", "version": "1.1.0", "type": "module", "engines": { "node": "^18.0.0 || >=20.0.0" }, "description": "❄️ Let your website snow instantly", "main": "dist/index.umd.js", "module": "dist/index.esm.js", "types": "dist/types/index.d.ts", "files": [ "dist", "src" ], "keywords": [ "let-it-go", "snow", "snowfall", "canvas" ], "author": "Michael Wang 汪東陽 <michael19920327@gmail.com> (https://github.com/EastSun5566)", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/EastSun5566/let-it-go" }, "homepage": "https://eastsun5566.github.io/let-it-go/", "husky": { "hooks": { "pre-commit": "pnpm lint" } }, "devDependencies": { "@babel/core": "^7.25.2", "@babel/plugin-proposal-class-properties": "^7.18.6", "@babel/preset-env": "^7.25.4", "@babel/preset-typescript": "^7.24.7", "@rollup/plugin-babel": "^5.3.1", "@rollup/plugin-node-resolve": "^11.2.1", "@rollup/plugin-terser": "^0.2.1", "@types/offscreencanvas": "^2019.7.3", "@typescript-eslint/eslint-plugin": "^4.33.0", "@typescript-eslint/parser": "^4.33.0", "eslint": "^7.32.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.30.0", "husky": "^8.0.3", "jsdom": "^25.0.1", "rimraf": "^3.0.2", "rollup": "^3.29.5", "rollup-plugin-filesize": "^9.1.2", "typescript": "^4.9.5", "vitest": "^2.1.5" }, "scripts": { "test": "vitest ./tests", "type-check": "tsc --noEmit", "type-check:watch": "pnpm type-check --watch", "build:types": "tsc --emitDeclarationOnly", "build:js": "rollup -c", "build": "rimraf dist && pnpm build:types && pnpm build:js", "lint": "eslint --fix --ignore-path .gitignore --ext .js,.ts src", "release": "pnpx standard-version && git push --follow-tags && pnpm publish", "demo:dev": "pnpm -C demo dev", "demo:deploy": "pnpm -C demo run deploy" } }