forked from iTwin/iTwinUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 2.94 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
{
"name": "@itwin/itwinui-css",
"version": "0.39.1",
"author": "Bentley Systems",
"license": "MIT",
"main": "src/index.scss",
"description": "CSS (Sass/SCSS) library for building beautiful and well working web UI components within Bentley Systems & iTwin.js applications.",
"homepage": "https://github.com/iTwin/iTwinUI",
"keywords": [
"css",
"sass",
"scss",
"html",
"react",
"ui",
"ux",
"standards",
"theme",
"light",
"dark",
"bentley systems",
"itwin"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{scss}": [
"prettier --write"
],
"*.{scss,html}": [
"stylelint --fix"
],
"*.{scss,html,js}": [
"yarn lint:copyright --fix"
]
},
"scripts": {
"build": "yarn clean && yarn build:scss && yarn build:css && yarn build:html && yarn copy-files",
"build:scss": "cpx \"./src/**/*.scss\" ./lib/scss",
"build:css": "node ./scripts/generateCss.js src lib/css && yarn postcss-processing && yarn lint:copyright --fix lib/css/*",
"build:html": "node ./scripts/generateHtml.js backstop/tests backstop/minified",
"build:watch": "yarn build && concurrently -n scss,html -k \"yarn build:watch:scss\" \"yarn build:watch:html\"",
"build:watch:scss": "chokidar \"src/**/*\" -c \"yarn build:scss && yarn build:css\"",
"build:watch:html": "chokidar \"backstop/tests/**/*\" -c \"yarn build:html\"",
"copy-files": "cpx package.json lib && cpx README.md lib",
"createComponent": "node ./scripts/createComponent.js",
"postcss-processing": "postcss lib/css -d lib/css --no-map && yarn print \"Finished post-processing CSS.\"",
"clean": "rimraf ./lib ./backstop/results/bitmaps_test",
"lint": "stylelint \"src/**/*.scss\" \"backstop/tests/*.html\"",
"lint:copyright": "node scripts/copyrightLinter.js",
"approve": "backstop --config=./backstop/backstop.js approve",
"test": "yarn build && yarn test:ci",
"test:ci": "backstop --config=./backstop/backstop.js test --docker",
"clean:images": "node scripts/removeOldTestImages.js",
"print": "node scripts/print.js",
"audit:ci": "audit-ci --moderate --report-type=full"
},
"devDependencies": {
"audit-ci": "^4.0.0",
"autoprefixer": "^10.2.4",
"backstopjs": "~5.1.0",
"chokidar-cli": "^2.1.0",
"concurrently": "^6.0.0",
"cpx": "^1.5.0",
"html-minifier": "^4.0.0",
"husky": "=4",
"lint-staged": "^11.2.6",
"node-sass": "^5.0.0",
"postcss": "^8.2.15",
"postcss-cli": "^8.3.1",
"postcss-discard-comments": "^4.0.2",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"stylelint": "^13.10.0",
"stylelint-config-sass-guidelines": "^8.0.0"
},
"resolutions": {
"braces": "^2.3.1",
"hosted-git-info": ">=3.0.8",
"jimp": ">=0.16.1",
"trim-newlines": "^3.0.1",
"glob-parent": "^5.1.2",
"jpeg-js": "^0.4.3",
"set-value": "^4.1.0",
"ansi-regex": "^5.0.1"
}
}