forked from davidjerleke/embla-carousel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
58 lines (58 loc) · 2.49 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
{
"name": "embla-carousel-monorepo",
"version": "4.5.3.1",
"private": true,
"author": "David Cetinkaya",
"description": "A lightweight carousel library with fluid motion and great swipe precision",
"repository": {
"type": "git",
"url": "git+https://github.com/davidcetinkaya/embla-carousel"
},
"bugs": {
"url": "https://github.com/davidcetinkaya/embla-carousel/issues"
},
"homepage": "https://www.embla-carousel.com",
"license": "MIT",
"workspaces": [
"packages/embla-carousel",
"packages/embla-carousel-docs"
],
"scripts": {
"lint": "npm-run-all prettier:report eslint:report",
"format": "npm-run-all prettier:fix eslint:fix",
"test": "yarn workspace embla-carousel run test",
"start": "npm-run-all --parallel start:lib start:docs",
"build": "yarn build:lib",
"prettier:report": "prettier '**/*.{js,tsx,ts,scss,json}' --check",
"prettier:fix": "prettier '**/*.{js,tsx,ts,scss,json}' --write",
"eslint:report": "yarn workspaces run eslint:report",
"eslint:fix": "yarn workspaces run eslint:fix",
"start:lib": "yarn workspace embla-carousel run start:react",
"start:docs": "yarn workspace embla-carousel-docs run start",
"build:lib": "yarn workspace embla-carousel run build",
"build:docs": "yarn workspace embla-carousel-docs run predeploy",
"version:patch": "yarn version --patch --no-git-tag-version",
"version:minor": "yarn version --minor --no-git-tag-version",
"version:major": "yarn version --major --no-git-tag-version",
"version:embla-carousel": "yarn workspace embla-carousel version --new-version $npm_package_version --no-git-tag-version",
"version:embla-carousel-docs": "yarn workspace embla-carousel-docs version --new-version $npm_package_version --no-git-tag-version",
"version:link-docs": "yarn workspace embla-carousel-docs upgrade embla-carousel",
"version:create": "git add -A && git commit -m \"$npm_package_version\" && git tag v$npm_package_version",
"version:push": "git add -A && git push && git push --tags",
"preversion": "npm-run-all lint test format build:lib",
"version": "npm-run-all version:embla-carousel version:embla-carousel-docs version:link-docs",
"postversion": "npm-run-all version:create version:push",
"prepare": "yarn build:lib"
},
"devDependencies": {
"husky": "^4.3.8",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1"
},
"husky": {
"hooks": {
"pre-commit": "npm-run-all lint test",
"pre-push": "yarn format"
}
}
}