forked from davidjerleke/embla-carousel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 3.42 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
{
"name": "embla-carousel-monorepo",
"version": "8.0.0-rc12",
"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-vue",
"packages/embla-carousel-svelte",
"packages/embla-carousel-docs",
"packages/embla-carousel-autoplay",
"packages/embla-carousel-auto-height",
"packages/embla-carousel-class-names",
"packages/embla-carousel-reactive-utils",
"playgrounds/embla-carousel-playground-vanilla",
"playgrounds/embla-carousel-playground-react"
],
"scripts": {
"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:playground-vanilla": "yarn workspace embla-carousel-playground-vanilla run dev",
"watch:playground-react": "yarn workspace embla-carousel-playground-react 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",
"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",
"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",
"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.17.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-node-resolve": "13.1.3",
"husky": "^4.3.8",
"npm-run-all": "^4.1.5",
"prettier": "2.5.1",
"rollup": "^2.68.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"typescript": "^4.5.5"
},
"husky": {
"hooks": {
"pre-push": "npm-run-all test lint"
}
},
"packageManager": "[email protected]"
}