@remix_labs/machine-wasm-mixrt 2.2603.0-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Makefile +22 -0
- package/index.js +2 -0
- package/package.json +21 -0
- package/package_pub.json +21 -0
- package/webpack.config.js +19 -0
package/Makefile
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.PHONY: default web setup clean pre-publish pack
|
|
2
|
+
|
|
3
|
+
default: pack web
|
|
4
|
+
|
|
5
|
+
setup:
|
|
6
|
+
npm ci
|
|
7
|
+
|
|
8
|
+
web: dist/mixrt_code.js
|
|
9
|
+
|
|
10
|
+
pre-publish:
|
|
11
|
+
|
|
12
|
+
pack:
|
|
13
|
+
npm pack
|
|
14
|
+
|
|
15
|
+
clean:
|
|
16
|
+
rm -f dist/*.js
|
|
17
|
+
|
|
18
|
+
.PHONY: dist/mixrt_code.js
|
|
19
|
+
dist/mixrt_code.js:
|
|
20
|
+
make -C ../obj ../lib/mixrt_wasm.js
|
|
21
|
+
mkdir -p dist
|
|
22
|
+
npm run build
|
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@remix_labs/machine-wasm-mixrt",
|
|
3
|
+
"version": "2.2603.0-dev",
|
|
4
|
+
"description": "contains mixrt.wasm",
|
|
5
|
+
"author": "Gerd Stolpmann",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/remixlabs/groovebox.git"
|
|
9
|
+
},
|
|
10
|
+
"license": "TBD",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "webpack --config webpack.config.js --config-name web"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
18
|
+
"webpack": "^5.82.1",
|
|
19
|
+
"webpack-cli": "^4.8.0"
|
|
20
|
+
}
|
|
21
|
+
}
|
package/package_pub.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@remix_labs/machine-wasm-mixrt",
|
|
3
|
+
"version": "_FULLVERSION_",
|
|
4
|
+
"description": "contains mixrt.wasm",
|
|
5
|
+
"author": "Gerd Stolpmann",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/remixlabs/groovebox.git"
|
|
9
|
+
},
|
|
10
|
+
"license": "TBD",
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "webpack --config webpack.config.js --config-name web"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"node-polyfill-webpack-plugin": "^2.0.1",
|
|
18
|
+
"webpack": "^5.82.1",
|
|
19
|
+
"webpack-cli": "^4.8.0"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const path = require('path');
|
|
2
|
+
const webpack = require('webpack');
|
|
3
|
+
const process = require('process');
|
|
4
|
+
|
|
5
|
+
var plugins = [];
|
|
6
|
+
|
|
7
|
+
module.exports = [
|
|
8
|
+
{
|
|
9
|
+
name: "web",
|
|
10
|
+
entry: './index.js',
|
|
11
|
+
mode: "production",
|
|
12
|
+
output: {
|
|
13
|
+
filename: 'mixrt_code.js',
|
|
14
|
+
path: path.resolve(__dirname, 'dist')
|
|
15
|
+
},
|
|
16
|
+
plugins: plugins,
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
|