Kaynağa Gözat

maintenance:

* move types to dev-dependencies
* check in package-lock.json
* webapck: enable eval-source-map (but the fast one)
Jakob Pietron 2 yıl önce
ebeveyn
işleme
849150fbaa
3 değiştirilmiş dosya ile 13135 ekleme ve 9 silme
  1. 13126 0
      package-lock.json
  2. 8 8
      package.json
  3. 1 1
      webpack.config.js

Dosya farkı çok büyük olduğundan ihmal edildi
+ 13126 - 0
package-lock.json


+ 8 - 8
package.json

@@ -1,14 +1,6 @@
 {
 	"devDependencies": {
 		"@types/mocha": "^9.1.1",
-		"mocha": "^10.0.0",
-		"nyc": "^15.1.0",
-		"ts-loader": "^9.3.1",
-		"webpack": "^5.74.0",
-		"webpack-cli": "^4.10.0",
-		"webpack-dev-server": "^4.9.3"
-	},
-	"dependencies": {
 		"@emotion/react": "^11.10.0",
 		"@mantine/core": "^5.2.3",
 		"@mantine/hooks": "^5.2.3",
@@ -20,6 +12,14 @@
 		"@types/node": "^18.6.1",
 		"@types/react": "^18.0.17",
 		"@types/react-dom": "^18.0.6",
+		"mocha": "^10.0.0",
+		"nyc": "^15.1.0",
+		"ts-loader": "^9.3.1",
+		"webpack": "^5.74.0",
+		"webpack-cli": "^4.10.0",
+		"webpack-dev-server": "^4.9.3"
+	},
+	"dependencies": {
 		"buffer": "^6.0.3",
 		"crypto-browserify": "^3.12.0",
 		"d3": "^7.6.1",

+ 1 - 1
webpack.config.js

@@ -2,7 +2,7 @@ const path = require('path');
 
 module.exports = {
   entry: path.resolve(__dirname, 'src', 'frontend', 'index.tsx'),
-  // devtool: 'inline-source-map',
+  devtool: 'eval-source-map',
   module: {
     rules: [
       {