-
Notifications
You must be signed in to change notification settings - Fork 59
/
package.json
88 lines (88 loc) · 2.47 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"name": "magic-snowflakes",
"description": "Falling snowflakes",
"version": "7.0.1",
"author": {
"name": "Denis Seleznev",
"email": "[email protected]",
"url": "https://github.com/hcodes/snowflakes"
},
"main": "dist/snowflakes.js",
"typings": "dist/index.d.ts",
"module": "dist/snowflakes.esm.js",
"homepage": "https://github.com/hcodes/snowflakes",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/hcodes/snowflakes.git"
},
"keywords": [
"snow",
"snowflakes",
"snowflake",
"flake",
"newyear",
"christmas",
"falling",
"снежинки",
"снежинка",
"flocons de neige",
"schneeflocken",
"fiocchi di neve",
"copos de nieve",
"雪花",
"雪の結晶"
],
"engines": {
"node": ">=10"
},
"files": [
"dist/**/*.{js,css,ts}",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"devDependencies": {
"@eslint/js": "^9.13.0",
"@rollup/plugin-typescript": "^12.1.1",
"@typescript-eslint/eslint-plugin": "^8.12.0",
"@typescript-eslint/parser": "^8.12.0",
"autoprefixer": "^10.4.20",
"cssnano": "^7.0.6",
"del-cli": "6.0.0",
"eslint": "^9.13.0",
"globals": "^15.11.0",
"postcss": "^8.4.47",
"postcss-cli": "^11.0.0",
"postcss-inline-svg": "^6.0.0",
"postcss-nested": "^6.2.0",
"rollup": "^4.24.3",
"rollup-plugin-postcss": "^4.0.2",
"terser": "^5.36.0",
"tslib": "^2.8.0",
"typescript": "^5.6.3",
"typescript-eslint": "^8.12.0"
},
"scripts": {
"test": "eslint . & npm run typecheck",
"typecheck": "tsc --noEmit -p tsconfig.lib.umd.json",
"build": "npm run clean && npm run make && npm run inject:css && npm run minify",
"clean": "del-cli dist/*",
"minify": "npm run minify:js && npm run minify:js-auto && npm run minify:js-light",
"minify:js": "terser ./dist/snowflakes.js -o ./dist/snowflakes.min.js -c -m",
"minify:js-auto": "terser ./dist/snowflakes.auto.js -o ./dist/snowflakes.auto.min.js -c -m",
"minify:js-light": "terser ./dist/snowflakes.light.js -o ./dist/snowflakes.light.min.js -c -m",
"inject:css": "node tools/inject-css.mjs",
"make": "npm run make:ts && npm run make:css",
"make:ts": "rollup --config rollup.config.mjs",
"make:css": "postcss --no-map src/css/*.css --dir dist",
"prepare": "npm run build"
},
"browserslist": [
"Firefox >= 60",
"Chrome >= 60",
"iOS >= 9",
"Safari >= 9",
"Android >= 5.0"
]
}