Skip to content

Commit

Permalink
refactor(blank): remove nlp folder and fix dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Iru89 committed Feb 20, 2024
1 parent 45d23da commit 755d8fe
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 105 deletions.
2 changes: 0 additions & 2 deletions blank/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ module.exports = {
],
],
plugins: [
require('@babel/plugin-proposal-object-rest-spread'),
require('@babel/plugin-proposal-class-properties'),
require('@babel/plugin-transform-runtime'),
],
}
63 changes: 30 additions & 33 deletions blank/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
"version": "1.0.0",
"scripts": {
"build": "webpack --env target=all --mode=production",
"start": "webpack serve --env target=dev --mode=development",
"test": "jest",
"train:ner": "ts-node src/nlp/tasks/ner/train.ts",
"train:intent-classification": "ts-node src/nlp/tasks/intent-classification/train.ts"
"start": "webpack-dev-server --env target=dev --mode=development",
"deploy": "botonic deploy -c build",
"test": "jest"
},
"jest": {
"rootDir": "tests",
Expand All @@ -20,43 +19,41 @@
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"@botonic/react": "~0.21.0"
"@botonic/react": "0.25.0-alpha.4"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@hot-loader/react-dom": "^17.0.1",
"analytics-node": "^3.4.0-beta.3",
"babel-jest": "^26.6.3",
"babel-loader": "^8.2.2",
"chokidar": "^3.4.3",
"@babel/core": "^7.23.9",
"@babel/plugin-transform-runtime": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@hot-loader/react-dom": "^16.14.0",
"analytics-node": "^3.5.0",
"babel-jest": "^29.7.0",
"babel-loader": "^8.3.0",
"chokidar": "^3.6.0",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^7.0.0",
"css-loader": "^5.0.1",
"css-loader": "^5.2.7",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.0.0-alpha.17",
"imagemin-gifsicle": "^6.0.0",
"html-webpack-plugin": "^5.6.0",
"imagemin-gifsicle": "^6.0.1",
"imagemin-jpegtran": "^6.0.0",
"imagemin-optipng": "^7.0.0",
"imagemin-svgo": "^7.0.0",
"imagemin-webpack": "^5.0.0",
"jest": "^26.6.3",
"node-sass": "^8.0.0",
"imagemin-optipng": "^7.1.0",
"imagemin-svgo": "^7.1.0",
"imagemin-webpack": "^5.1.1",
"jest": "^29.7.0",
"null-loader": "^4.0.1",
"process": "^0.11.10",
"react-hot-loader": "^4.13.0",
"sass": "^1.30.0",
"sass-loader": "^10.1.0",
"react-hot-loader": "4.12.21",
"sass": "^1.71.0",
"sass-loader": "^10.5.2",
"style-loader": "^2.0.0",
"terser": "^5.5.1",
"terser-webpack-plugin": "^5.0.3",
"ts-node": "^10.4.0",
"typescript": "^4.4.4",
"webpack": "^5.10.3",
"webpack-cli": "^4.2.0",
"webpack-dev-server": "4.13.3"
"terser": "^5.27.2",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"typescript": "^4.9.5",
"webpack": "^5.90.3",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "5.0.2"
}
}
Empty file removed blank/src/nlp/data/en/.gitkeep
Empty file.
Empty file.
68 changes: 0 additions & 68 deletions blank/src/nlp/tasks/intent-classification/train.ts

This file was deleted.

2 changes: 0 additions & 2 deletions blank/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ const babelLoaderConfig = {
],
],
plugins: [
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-transform-runtime',
],
},
Expand Down

0 comments on commit 755d8fe

Please sign in to comment.