Skip to content

Commit 6931b37

Browse files
committed
Update packages to latest versions and add local dev server support
1 parent 05596dd commit 6931b37

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

GithubAzureDevOpsSpeedTest.code-workspace

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,11 @@
44
"path": "."
55
}
66
],
7-
"settings": {}
7+
"settings": {
8+
"chat.tools.terminal.autoApprove": {
9+
"npm install": true,
10+
"git checkout": true,
11+
"git add": true
12+
}
13+
}
814
}

package.json

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,29 @@
33
"version": "1.0.0",
44
"main": "index.jsx",
55
"scripts": {
6+
"start": "http-server -p 8080 -o",
67
"watch": "watchify -v -t babelify index.jsx -g [ envify --NODE_ENV development ] -o index.min.js",
78
"build": "npm run lint && npm run browserify",
89
"lint": "eslint . --ext .js --ext .jsx",
910
"browserify": "browserify -t babelify index.jsx -g [ envify --NODE_ENV production ] -g uglifyify | uglifyjs --compress --mangle > index.min.js"
1011
},
1112
"author": "Janusz Nowak",
1213
"dependencies": {
13-
"react": "^18.2.0",
14-
"react-dom": "^18.2.0",
14+
"react": "^18.3.1",
15+
"react-dom": "^18.3.1",
1516
"react-sparklines": "^1.7.0"
1617
},
1718
"devDependencies": {
18-
"babel-preset-es2015": "^6.5.0",
19-
"babel-preset-react": "^6.5.0",
20-
"babelify": "^10.0.0",
19+
"babel-preset-es2015": "^6.24.1",
20+
"babel-preset-react": "^6.24.1",
21+
"babelify": "^7.3.0",
2122
"browserify": "^17.0.0",
2223
"envify": "^4.1.0",
23-
"eslint": "^4.19.1",
24-
"eslint-plugin-react": "^7.9.1",
25-
"mocha": "^11.1.0",
26-
"uglify-js": "^3.1.3",
24+
"eslint": "^8.57.1",
25+
"eslint-plugin-react": "^7.37.3",
26+
"http-server": "^14.1.1",
27+
"mocha": "^11.7.5",
28+
"uglify-js": "^3.19.3",
2729
"uglifyify": "^5.0.2",
2830
"watchify": "^4.0.0"
2931
}

0 commit comments

Comments
 (0)