-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.78 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
{
"name": "browser-js-library-template",
"version": "1.0.0",
"type": "module",
"description": "Template for production ready vanilla js library",
"repository": {
"type": "git",
"url": "git+https://github.com/timelessco/browser-js-library-template.git"
},
"homepage": "https://github.com/timelessco/browser-js-library-template#readme",
"bugs": {
"url": "https://github.com/timelessco/browser-js-library-template/issues"
},
"author": "Timeless <[email protected]> (https://timeless.co/)",
"license": "MIT",
"private": true,
"main": "./lib/browser-js-library-template.umd.js",
"module": "./lib/browser-js-library-template.es.js",
"exports": {
".": {
"import": "./lib/browser-js-library-template.es.js",
"require": "./lib/browser-js-library-template.umd.js"
},
"./carousel.css": "./lib/index.css"
},
"browser": "./lib/browser-js-library-template.umd.js",
"unpkg": "./lib/browser-js-library-template.umd.js",
"files": [
"lib"
],
"keywords": [
"js",
"library",
"production",
"template",
"vanilla"
],
"scripts": {
"build": "vite build --config vite-lib.config.js",
"build:website": "vite build",
"check": "pnpm lint:check && pnpm csslint:check && pnpm format:check",
"commit": "gacp",
"csslint:check": "stylelint '**/*.css' --cache --color --ignore-path .prettierignore -f verbose",
"csslint:fix": "stylelint '**/*.css' --fix --cache --color --ignore-path .prettierignore -f verbose",
"dev": "vite --host",
"fix": "pnpm lint:fix && pnpm csslint:fix && pnpm format:fix",
"format:check": "prettier -l --cache \"./**/*.{html,css,js,cjs,jsx,ts,cts,tsx,md,json}\"",
"format:fix": "prettier --write --cache --check \"./**/*.{html,css,js,cjs,jsx,ts,cts,tsx,md,json}\"",
"lint:check": "eslint --cache --color --ext .js,.cjs,.jsx,.ts,.cts,.tsx .",
"lint:fix": "eslint --cache --color --ext .js,.cjs,.jsx,.ts,.cts,.tsx . --fix",
"postinstall": "husky install",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable",
"preview": "vite preview",
"release": "release-it",
"release:check": "release-it --dry-run",
"test": "echo \"no test specified\" && exit 0"
},
"dependencies": {
"@use-gesture/vanilla": "^10.3.0",
"animejs": "^3.2.2"
},
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/eslint-parser": "^7.21.8",
"@babel/preset-env": "^7.20.2",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@ianvs/prettier-plugin-sort-imports": "^3.7.2",
"@release-it/conventional-changelog": "^5.1.1",
"browserslist-to-esbuild": "^1.2.0",
"eslint": "^8.36.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"gacp": "^3.0.3",
"husky": "^8.0.3",
"lint-staged": "^13.3.0",
"pinst": "^3.0.0",
"prettier": "^2.8.8",
"prettier-plugin-pkg": "^0.17.1",
"release-it": "^15.11.0",
"stylelint": "^15.3.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^31.0.0",
"vite": "^4.2.3",
"vite-plugin-top-level-await": "^1.3.1"
},
"sideEffects": false,
"browserslist": {
"production": [
">0.2%",
"last 2 versions",
"Firefox ESR",
"not dead"
],
"development": [
"last 2 versions",
"not dead"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"gacp": {
"add": false,
"push": false,
"emoji": "emoji",
"editor": false
},
"lint-staged": {
"**/*.{js,cjs,jsx,ts,cts,tsx}": [
"pnpm lint:fix"
],
"**/*.{html,css,js,cjs,jsx,ts,cts,tsx,md,json}": [
"pnpm format:fix"
]
},
"source": "src/carousel.js"
}