-
-
Notifications
You must be signed in to change notification settings - Fork 188
/
package.json
78 lines (78 loc) · 3.89 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
{
"name": "embla-carousel-monorepo",
"version": "8.4.0",
"private": true,
"author": "David Jerleke",
"description": "A lightweight carousel library with fluid motion and great swipe precision",
"repository": {
"type": "git",
"url": "git+https://github.com/davidjerleke/embla-carousel"
},
"bugs": {
"url": "https://github.com/davidjerleke/embla-carousel/issues"
},
"homepage": "https://www.embla-carousel.com",
"license": "MIT",
"workspaces": [
"packages/embla-carousel",
"packages/embla-carousel-react",
"packages/embla-carousel-solid",
"packages/embla-carousel-vue",
"packages/embla-carousel-svelte",
"packages/embla-carousel-docs",
"packages/embla-carousel-autoplay",
"packages/embla-carousel-auto-scroll",
"packages/embla-carousel-auto-height",
"packages/embla-carousel-class-names",
"packages/embla-carousel-fade",
"packages/embla-carousel-reactive-utils",
"playgrounds/embla-carousel-playground-vanilla",
"playgrounds/embla-carousel-playground-react",
"playgrounds/embla-carousel-playground-solid"
],
"scripts": {
"eslint:report": "yarn workspaces foreach -v --exclude \"{embla-carousel-monorepo,embla-carousel-playground-vanilla,embla-carousel-playground-react}\" run eslint:report",
"prettier:report": "prettier \"**/*.{js,jsx,tsx,ts,scss,json}\" --check",
"lint": "npm-run-all prettier:report eslint:report",
"format": "prettier \"**/*.{js,jsx,tsx,ts,scss,json}\" --write",
"test": "yarn workspaces foreach -v --exclude \"{embla-carousel-monorepo,embla-carousel-playground-vanilla,embla-carousel-playground-react}\" run test",
"watch:package-vanilla": "yarn workspace embla-carousel run start",
"watch:package-react": "yarn workspace embla-carousel-react run start",
"watch:package-solid": "yarn workspace embla-carousel-solid run start",
"watch:playground-vanilla": "yarn workspace embla-carousel-playground-vanilla run dev",
"watch:playground-react": "yarn workspace embla-carousel-playground-react run dev",
"watch:playground-solid": "yarn workspace embla-carousel-playground-solid run dev",
"start": "yarn workspace embla-carousel-docs run start",
"start:vanilla": "npm-run-all --parallel watch:package-vanilla watch:playground-vanilla",
"start:react": "npm-run-all --parallel watch:package-vanilla watch:package-react watch:playground-react",
"start:solid": "npm-run-all --parallel watch:package-vanilla watch:package-solid watch:playground-solid",
"build": "npm-run-all build:packages build:package-readmes format",
"build:packages": "yarn workspaces foreach -vt --exclude \"{embla-carousel-monorepo,embla-carousel-playground-vanilla,embla-carousel-playground-react}\" run build",
"build:package-readmes": "npx ts-node --project scripts/tsconfig.node.json scripts/create-readmes/index.ts --templatePath=scripts/create-readmes/readme-template.md",
"build:docs": "yarn workspace embla-carousel-docs run predeploy",
"version:patch": "yarn workspaces foreach version patch && yarn version:push",
"version:minor": "yarn workspaces foreach version minor && yarn version:push",
"version:major": "yarn workspaces foreach version major && yarn version:push",
"version:create": "git add -A && git commit -m \"$npm_package_version\" && git tag v$npm_package_version",
"version:push": "yarn install && yarn version:create && git add -A && git push && git push --tags"
},
"devDependencies": {
"@babel/core": "7.23.2",
"@octokit/types": "^11.1.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"husky": "^4.3.8",
"npm-run-all": "^4.1.5",
"prettier": "2.8.8",
"rollup": "^4.22.4",
"typescript": "^5.2.2"
},
"husky": {
"hooks": {
"pre-push": "npm-run-all format test lint"
}
},
"packageManager": "[email protected]"
}