mirror of
https://github.com/wassname/keras-js.git
synced 2026-09-10 12:15:12 +08:00
use webpack 2
This commit is contained in:
@@ -24,13 +24,16 @@ module.exports = {
|
||||
}
|
||||
]
|
||||
},
|
||||
postcss: [
|
||||
autoprefixer({ browsers: ['last 2 versions'] })
|
||||
],
|
||||
resolve: {
|
||||
extensions: ['', '.js']
|
||||
extensions: ['.js']
|
||||
},
|
||||
plugins: [
|
||||
new webpack.LoaderOptionsPlugin({
|
||||
options: {
|
||||
context: __dirname,
|
||||
postcss: [autoprefixer]
|
||||
}
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
'process.env.NODE_ENV': JSON.stringify('development')
|
||||
})
|
||||
|
||||
@@ -23,13 +23,16 @@ module.exports = {
|
||||
}
|
||||
]
|
||||
},
|
||||
postcss: [
|
||||
autoprefixer({ browsers: ['last 2 versions'] })
|
||||
],
|
||||
resolve: {
|
||||
extensions: ['', '.js']
|
||||
extensions: ['.js']
|
||||
},
|
||||
plugins: [
|
||||
new webpack.LoaderOptionsPlugin({
|
||||
options: {
|
||||
context: __dirname,
|
||||
postcss: [autoprefixer]
|
||||
}
|
||||
}),
|
||||
new webpack.DefinePlugin({
|
||||
'process.env': {
|
||||
NODE_ENV: JSON.stringify('production')
|
||||
|
||||
+25
-25
@@ -34,33 +34,33 @@
|
||||
},
|
||||
"homepage": "https://github.com/transcranial/keras-js#readme",
|
||||
"dependencies": {
|
||||
"cwise": "1.0.9",
|
||||
"lodash": "4.16.1",
|
||||
"ndarray": "1.0.18",
|
||||
"ndarray-blas-level2": "1.1.0",
|
||||
"ndarray-concat-rows": "1.0.1",
|
||||
"ndarray-gemm": "1.0.0",
|
||||
"ndarray-ops": "1.2.2",
|
||||
"ndarray-squeeze": "1.0.2",
|
||||
"ndarray-tile": "1.0.3",
|
||||
"ndarray-unpack": "1.0.0",
|
||||
"ndarray-unsqueeze": "1.0.3"
|
||||
"cwise": "^1.0.9",
|
||||
"lodash": "^4.16.1",
|
||||
"ndarray": "^1.0.18",
|
||||
"ndarray-blas-level2": "^1.1.0",
|
||||
"ndarray-concat-rows": "^1.0.1",
|
||||
"ndarray-gemm": "^1.0.0",
|
||||
"ndarray-ops": "^1.2.2",
|
||||
"ndarray-squeeze": "^1.0.2",
|
||||
"ndarray-tile": "^1.0.3",
|
||||
"ndarray-unpack": "^1.0.0",
|
||||
"ndarray-unsqueeze": "^1.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "6.4.1",
|
||||
"babel-core": "6.14.0",
|
||||
"babel-eslint": "6.1.2",
|
||||
"babel-loader": "6.2.5",
|
||||
"babel-plugin-transform-class-properties": "6.11.5",
|
||||
"babel-plugin-transform-object-rest-spread": "6.8.0",
|
||||
"babel-polyfill": "6.13.0",
|
||||
"babel-preset-latest": "6.14.0",
|
||||
"css-loader": "0.25.0",
|
||||
"http-server": "0.9.0",
|
||||
"postcss-loader": "0.13.0",
|
||||
"standard": "8.1.0",
|
||||
"style-loader": "0.13.1",
|
||||
"webpack": "1.13.2"
|
||||
"autoprefixer": "^6.4.1",
|
||||
"babel-core": "^6.14.0",
|
||||
"babel-eslint": "^6.1.2",
|
||||
"babel-loader": "^6.2.5",
|
||||
"babel-plugin-transform-class-properties": "^6.11.5",
|
||||
"babel-plugin-transform-object-rest-spread": "^6.8.0",
|
||||
"babel-polyfill": "^6.13.0",
|
||||
"babel-preset-latest": "^6.14.0",
|
||||
"css-loader": "^0.25.0",
|
||||
"http-server": "^0.9.0",
|
||||
"postcss-loader": "^0.13.0",
|
||||
"standard": "^8.1.0",
|
||||
"style-loader": "^0.13.1",
|
||||
"webpack": "^2.1.0-beta.25"
|
||||
},
|
||||
"standard": {
|
||||
"parser": "babel-eslint",
|
||||
|
||||
@@ -23,7 +23,7 @@ module.exports = {
|
||||
]
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['', '.js']
|
||||
extensions: ['.js']
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
|
||||
@@ -22,7 +22,7 @@ module.exports = {
|
||||
]
|
||||
},
|
||||
resolve: {
|
||||
extensions: ['', '.js']
|
||||
extensions: ['.js']
|
||||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
|
||||
Reference in New Issue
Block a user