-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
90 lines (90 loc) · 3.12 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
89
90
{
"name": "hex-to-css-filter",
"version": "5.4.0",
"description": "hex-to-css-filter - Easy way to generate colors from HEX to CSS Filters",
"author": "Will Mendes <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/willmendesneto/hex-to-css-filter.git"
},
"bugs": {
"url": "https://github.com/willmendesneto/hex-to-css-filter/issues"
},
"homepage": "https://github.com/willmendesneto/hex-to-css-filter#readme",
"sideEffects": false,
"license": "MIT",
"browser": "dist/umd/hex-to-css-filter.js",
"jsnext:main": "dist/esm/index.js",
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"es2015": "dist/cjs/index.js",
"cjs": "dist/cjs/index.js",
"types": "dist/umd/index.d.ts",
"keywords": [
"hex-to-css-filter",
"css",
"filter",
"hex",
"color"
],
"dependencies": {
"tslib": "^2.3.0"
},
"devDependencies": {
"@types/jest": "^26.0.24",
"@types/node": "^14.0.27",
"@typescript-eslint/eslint-plugin": "^4.29.0",
"@typescript-eslint/parser": "^4.29.0",
"bundlesize": "^0.18.0",
"changelog-verify": "^1.1.0",
"coveralls": "^3.1.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-compat": "^3.11.1",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^7.0.1",
"jest": "^27.0.6",
"jsdom": "^16.7.0",
"lint-staged": "^11.1.2",
"prettier": "^2.3.2",
"rollup": "^2.56.0",
"rollup-plugin-dts": "^4.2.0",
"rollup-plugin-node-resolve": "^5.2.0",
"ts-jest": "^27.0.4",
"ts-node": "^10.1.0",
"typescript": "^4.3.5",
"typings": "^2.1.1",
"uglify-js": "^3.14.1",
"version-changelog": "^3.1.0"
},
"engines": {
"node": ">=6.10.2"
},
"scripts": {
"prepare": "husky install",
"compile": "tsc",
"clean": "rm -rf ./dist ./.jest ./coverage ./lib",
"build": "yarn build:es2015 && yarn build:cjs && yarn build:esm && yarn build:umd",
"build:umd": "rollup --config && yarn build:umd:min",
"build:umd:min": "uglifyjs --compress --mangle --comments -o dist/umd/hex-to-css-filter.min.js -- dist/umd/hex-to-css-filter.js && gzip dist/umd/hex-to-css-filter.min.js -c > dist/umd/hex-to-css-filter.min.js.gz",
"build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015",
"build:esm": "tsc --module esnext --target es5 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs",
"test": "jest",
"pretest:ci": "yarn lint",
"test:ci": "jest --coverage --coverageReporters=text-lcov | coveralls",
"check-coverage": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf coverage",
"bundlesize": "bundlesize --config bundlesize.config.json",
"lint": "eslint '{scripts,src}/**/*.[tj]s'",
"lint:fix": "prettier --no-editorconfig --write",
"version": "version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md"
},
"browserslist": [
"last 1 chrome versions",
"last 1 edge versions",
"last 1 firefox versions",
"last 1 safari versions",
"last 1 and_chr versions",
"last 1 ios_saf versions"
]
}