Skip to content

Commit e561000

Browse files
committed
build: update config
1 parent 41720d2 commit e561000

File tree

7 files changed

+2046
-1351
lines changed

7 files changed

+2046
-1351
lines changed

.browserslistrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Browsers that we support
2+
3+
# 2022-03-29
4+
Chrome 100
5+
# 2022-03-15
6+
Safari 15
7+
# 2022-05-03
8+
Firefox 100

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ const sideBySideContents = diff.getSideBySideContents()
2626

2727
### unified differences
2828

29-
![home](https://arman19941113.github.io/html-diff//unified.png)
29+
![home](https://arman19941113.github.io/html-diff/unified.png)
3030

3131
### side-by-side differences
3232

33-
![home](https://arman19941113.github.io/html-diff//sidebyside.png)
33+
![home](https://arman19941113.github.io/html-diff/sidebyside.png)
3434

package.json

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"name": "@armantang/html-diff",
33
"private": true,
44
"scripts": {
5-
"dev": "cd example && vite",
6-
"build:example": "cd example && tsc --noEmit && vite build",
7-
"preview": "cd example && vite preview",
5+
"postinstall": "husky install",
86
"lint": "eslint --ext ts src",
97
"test": "jest",
108
"test-coverage": "jest --coverage",
@@ -15,30 +13,32 @@
1513
"*.ts": "eslint"
1614
},
1715
"devDependencies": {
18-
"@microsoft/api-extractor": "^7.28.6",
19-
"@rollup/plugin-replace": "^4.0.0",
20-
"@rollup/plugin-typescript": "^8.3.4",
21-
"@types/jest": "^28.1.6",
22-
"@types/node": "^18.6.3",
23-
"@typescript-eslint/eslint-plugin": "^5.31.0",
24-
"@typescript-eslint/parser": "^5.31.0",
25-
"chalk": "^5.0.1",
26-
"cssnano": "^5.1.12",
16+
"@microsoft/api-extractor": "^7.34.4",
17+
"@rollup/plugin-node-resolve": "^15.0.1",
18+
"@rollup/plugin-replace": "^5.0.2",
19+
"@rollup/plugin-terser": "^0.4.0",
20+
"@rollup/plugin-typescript": "^11.0.0",
21+
"@types/jest": "^29.4.4",
22+
"@types/node": "^18.15.3",
23+
"@typescript-eslint/eslint-plugin": "^5.55.0",
24+
"@typescript-eslint/parser": "^5.55.0",
25+
"chalk": "^5.2.0",
26+
"cssnano": "^5.1.15",
2727
"enquirer": "^2.3.6",
28-
"eslint": "^8.20.0",
29-
"fs-extra": "^10.1.0",
30-
"husky": "^8.0.1",
31-
"jest": "^28.1.3",
32-
"lint-staged": "^13.0.3",
33-
"postcss": "^8.4.14",
34-
"postcss-nested": "^5.0.6",
35-
"rollup": "^2.77.2",
28+
"eslint": "^8.36.0",
29+
"fs-extra": "^11.1.0",
30+
"husky": "^8.0.3",
31+
"jest": "^29.5.0",
32+
"lint-staged": "^13.2.0",
33+
"postcss": "^8.4.21",
34+
"postcss-nested": "^6.0.1",
35+
"postcss-preset-env": "^8.0.1",
36+
"rollup": "^3.19.1",
3637
"rollup-plugin-postcss": "^4.0.2",
37-
"rollup-plugin-terser": "^7.0.2",
38-
"semver": "^7.3.7",
39-
"ts-jest": "^28.0.7",
40-
"tslib": "^2.4.0",
41-
"typescript": "^4.6.4"
38+
"semver": "^7.3.8",
39+
"ts-jest": "^29.0.5",
40+
"tslib": "^2.5.0",
41+
"typescript": "^4.9.5"
4242
},
4343
"engines": {
4444
"node": ">=16"

0 commit comments

Comments
 (0)