forked from LottieFiles/svelte-lottie-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.85 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
{
"name": "@lottiefiles/svelte-lottie-player",
"version": "0.3.0",
"svelte": "src/components/index.js",
"module": "dist/index.mjs",
"main": "dist/index.js",
"description": "Lottie animation player component for Svelte",
"keywords": [
"lottie",
"lottiefiles",
"dotlottie",
"svelte",
"component",
"svelte-component"
],
"author": "Jawish Hameed <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/LottieFiles/svelte-lottie-player.git"
},
"homepage": "https://github.com/LottieFiles/svelte-lottie-player",
"bugs": {
"url": "https://github.com/LottieFiles/svelte-lottie-player/issues"
},
"scripts": {
"predev": "node -p \"'export const SVELTE_LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \\n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'\" > src/components/versions.js",
"dev": "rollup -c -w",
"prebuild": "node -p \"'export const SVELTE_LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \\n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'\" > src/components/versions.js",
"build": "rollup -c",
"prepublishOnly": "yarn build",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"devDependencies": {
"@babel/core": "^7.9.6",
"@rollup/plugin-commonjs": "11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-strip": "^1.3.2",
"@storybook/addon-a11y": "^5.3.18",
"@storybook/addon-actions": "^5.3.18",
"@storybook/addon-backgrounds": "^5.3.18",
"@storybook/addon-knobs": "^5.3.18",
"@storybook/addon-links": "^5.3.18",
"@storybook/addon-storysource": "^5.3.18",
"@storybook/addon-viewport": "^5.3.18",
"@storybook/addons": "^5.3.18",
"@storybook/source-loader": "^5.3.18",
"@storybook/svelte": "^5.3.18",
"babel-loader": "^8.1.0",
"eslint": "^6.8.0",
"eslint-plugin-svelte3": "^2.7.3",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.5",
"prettier-plugin-svelte": "^0.7.0",
"rollup": "^2.7.6",
"rollup-plugin-svelte": "^6.1.1",
"rollup-plugin-terser": "^5.3.0",
"svelte": "^3.21.0",
"svelte-loader": "^2.13.6"
},
"dependencies": {
"lottie-web": "^5.10.0"
},
"files": [
"src/components",
"dist"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{html, css, scss, stylus, js, ts, json, yml, md}": [
"prettier --write"
],
"*.{js, svelte}": [
"eslint . --fix"
]
},
"publishConfig": {
"access": "public"
}
}