mercury-engine 1.0.0
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/.babelrc +3 -0
- package/LICENSE +674 -0
- package/README.md +126 -0
- package/dist/mercury.js +17792 -0
- package/dist/mercury.min.es5.js +2 -0
- package/dist/mercury.min.js +1 -0
- package/index.js +2 -0
- package/package.json +50 -0
package/index.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mercury-engine",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "The mercury engine generates web audio output from mercury code input",
|
|
5
|
+
"main": "./dist/mercury.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
8
|
+
"clean": "rm -rf dist",
|
|
9
|
+
"watch": "watchify -t brfs src/mercury.js --standalone MercuryEngine -o dist/mercury.js -v | terser dist/mercury.js -o dist/mercury.min.js -c -m --comments 'false'",
|
|
10
|
+
"dist": "mkdir dist && browserify -t brfs src/mercury.js --standalone MercuryEngine -o dist/mercury.js",
|
|
11
|
+
"uglify": "terser dist/mercury.js -o dist/mercury.min.js -c -m --comments 'false'",
|
|
12
|
+
"es5": "babel dist/mercury.min.js -o dist/mercury.min.es5.js",
|
|
13
|
+
"build": "npm run clean && npm run dist && npm run uglify && npm run es5"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"mercury",
|
|
17
|
+
"live",
|
|
18
|
+
"coding",
|
|
19
|
+
"creative",
|
|
20
|
+
"coding",
|
|
21
|
+
"algorithmic",
|
|
22
|
+
"composition",
|
|
23
|
+
"electronic",
|
|
24
|
+
"music",
|
|
25
|
+
"audiovisual",
|
|
26
|
+
"web",
|
|
27
|
+
"audio",
|
|
28
|
+
"embedded",
|
|
29
|
+
"sound",
|
|
30
|
+
"generative",
|
|
31
|
+
"art"
|
|
32
|
+
],
|
|
33
|
+
"author": "Timo Hoogland",
|
|
34
|
+
"license": "ISC",
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"mercury-lang": "^1.9.3",
|
|
37
|
+
"tone": "^14.7.77",
|
|
38
|
+
"webmidi": "^3.1.6"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@babel/cli": "^7.23.0",
|
|
42
|
+
"@babel/core": "^7.23.3",
|
|
43
|
+
"@babel/preset-env": "^7.23.3",
|
|
44
|
+
"brfs": "^2.0.2",
|
|
45
|
+
"browserify": "^17.0.0",
|
|
46
|
+
"terser": "^5.24.0",
|
|
47
|
+
"uglifyjs": "^2.4.11",
|
|
48
|
+
"watchify": "^4.0.0"
|
|
49
|
+
}
|
|
50
|
+
}
|