-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
126 lines (126 loc) · 3.59 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@fortawesome/svelte-fontawesome",
"description": "Svelte component for Font Awesome",
"version": "0.2.3",
"type": "module",
"svelte": "src/index.js",
"exports": {
".": {
"types": "./index.d.ts",
"svelte": "./src/index.js"
}
},
"main": "index.js",
"module": "index.es.js",
"jsnext:main": "index.es.js",
"types": "index.d.ts",
"homepage": "https://github.com/FortAwesome/svelte-fontawesome",
"repository": {
"type": "git",
"url": "https://github.com/FortAwesome/svelte-fontawesome.git"
},
"contributors": [
"Font Awesome Team <[email protected]>",
"Sean Timm <github.com/seantimm>",
"Akiomi Kamakura <github.com/akiomik>",
"Daniel Senff <github.comm/Dahie>",
"Konnng Digital <github.comm/konnng-dev>",
"Martin Blasko <github.comm/MartinBspheroid>"
],
"license": "MIT",
"scripts": {
"build": "rollup -c rollup.config.js",
"dist": "cross-env NODE_ENV=production npm run build",
"lint": "eslint src",
"prettier": "pretty-quick --pattern src/** --staged",
"prepack": "npm run dist",
"test": "jest --silent",
"install.5": "npm --no-save install @fortawesome/[email protected] @fortawesome/[email protected]",
"install.6": "npm --no-save install @fortawesome/[email protected] @fortawesome/[email protected]",
"clean": "rm -f index.js && rm -f index.es.js"
},
"lint-staged": {
"README.md": [
"markdown-toc -i",
"git add README.md"
]
},
"peerDependencies": {
"@fortawesome/fontawesome-svg-core": "~1 || ~6",
"svelte": ">=3.x"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/eslint-parser": "^7.18.2",
"@babel/plugin-external-helpers": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-stage-3": "^7.8.3",
"@fortawesome/fontawesome-svg-core": "^1.3.0",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@pyoner/svelte-types": "^3.4.4-2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/svelte": "^3.1.3",
"babel-jest": "^28.1.3",
"browserslist": "^4.21.2",
"caniuse-lite": "^1.0.30001299",
"cross-env": "^7.0.3",
"eslint": "^8.16.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-compat": "^4.0.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-n": "^15.2.4",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-svelte3": "^4.0.0",
"husky": "^7.0.4",
"jest": "^28.1.3",
"jest-environment-jsdom": "^28.1.3",
"jest-transform-stub": "^2.0.0",
"lint-staged": "^12.1.7",
"markdown-toc": "^1.2.0",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"rollup": "^2.76.0",
"rollup-plugin-svelte": "^7.1.0",
"semver": "^7.3.7",
"svelte": ">=3.x",
"svelte-jester": "^2.3.2"
},
"files": [
"index.js",
"index.es.js",
"index.d.ts",
"src"
],
"browserslist": [
"> 1%",
"last 2 versions",
"ie > 10"
],
"jest": {
"transform": {
"^.+\\.js$": "babel-jest",
"^.+\\.svelte$": "svelte-jester",
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
},
"moduleFileExtensions": [
"svelte",
"js"
],
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"@testing-library/jest-dom/extend-expect"
],
"roots": [
"src"
]
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run prettier && lint-staged"
}
}
}