forked from IBM/gantt-chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 2.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
{
"name": "@ibm/gantt-chart",
"version": "0.5.0",
"private": true,
"description": "IBM Gantt Chart Component, integrable in Vanilla, jQuery, or React Framework.",
"repository": "https://github.com/ibm/gantt-chart",
"license": "Apache-2.0",
"contributors": [
"Olivier Noiret (https://github.com/ono70)",
"Gilles d'Andréa (https://github.com/gillesdandrea)"
],
"workspaces": [
"packages/*"
],
"scripts": {
"build": "lerna run build",
"check:fix": "yarn import:fix && yarn prettier:fix && yarn elint:fix && yarn slint:fix",
"check:list": "yarn import:list && yarn prettier:list && yarn elint && yarn slint",
"clean:all": "yarn clean:dist && yarn clean:junk && yarn clean:modules",
"clean:dist": "rimraf packages/*/dist packages/*/stats.html",
"clean:junk": "rimraf *-{debug,error}.log packages/*/*-{debug,error}.log packages/*/stats.html",
"clean:modules": "rimraf node_modules package-lock.json yarn.lock *-{debug,error}.log packages/*/node_modules packages/*/package-lock.json packages/*/yarn.lock packages/*/*-{debug,error}.log",
"elint": "gda-scripts eslint packages/*/{src,test}",
"elint:fix": "gda-scripts eslint packages/*/{src,test} --fix",
"import:fix": "import-sort --write \"packages/*/{src,test}/**/*.{js,jsx}\" \"packages/*/.*.js\" \"packages/*/*.js\" \".*.js\" \"*.js\"",
"import:list": "import-sort --list-different \"packages/*/{src,test}/**/*.{js,jsx}\" \"packages/*/.*.js\" \"packages/*/*.js\" \".*.js\" \"*.js\"",
"lerna:publish": "lerna publish from-package --no-git-tag-version --no-push",
"lerna:version": "lerna version --no-git-tag-version --no-push",
"precommit": "lint-staged",
"prettier:fix": "prettier --write \"packages/*/{src,test}/**/*.{js,jsx,css,scss,json,md}\" \"packages/*/.*.js\" \"packages/*/*.js\" \".*.js\" \"*.js\" \"docs/*.md\" \"*.md\"",
"prettier:list": "prettier -l \"packages/*/{src,test}/**/*.{js,jsx,css,scss,json,md}\" \"packages/*/.*.js\" \"packages/*/*.js\" \".*.js\" \"*.js\" \"docs/*.md\" \"*.md\"",
"slint": "gda-scripts stylelint packages/*/{src,test}",
"slint:fix": "gda-scripts stylelint packages/*/{src,test} --fix",
"start": "cd packages/ibm-gantt-chart-dev && yarn start",
"update": "yarn upgrade-interactive --latest"
},
"lint-staged": {
"packages/*/{src,test}/**/*.{css,scss}": [
"prettier --write",
"gda-scripts stylelint --fix",
"git add"
],
"packages/*/{src,test}/**/*.{js,jsx} packages/*/.*.js packages/*/*.js .*.js *.js": [
"import-sort --write",
"prettier --write",
"gda-scripts eslint --fix",
"git add"
],
"packages/*/{src,test}/**/*.{json,md} docs/*.md *.md": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"all-contributors-cli": "^6.6.1",
"gda-scripts": "^0.3.6",
"husky": "^2.4.0",
"lerna": "^3.14.1",
"lint-staged": "^8.2.0",
"rimraf": "^2.6.3"
}
}