mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2025-06-12 12:50:28 -04:00
Merge pull request #81 from mzgoddard/dependents-no-boiler
Use src/index for browser entry point
This commit is contained in:
commit
c40105cf07
2 changed files with 11 additions and 4 deletions
10
package.json
10
package.json
|
@ -3,6 +3,7 @@
|
|||
"version": "0.1.0",
|
||||
"description": "audio engine for scratch 3.0",
|
||||
"main": "dist.js",
|
||||
"browser": "./src/index.js",
|
||||
"scripts": {
|
||||
"test": "npm run lint && npm run build",
|
||||
"build": "webpack --bail",
|
||||
|
@ -20,8 +21,12 @@
|
|||
"url": "https://github.com/LLK/scratch-audio/issues"
|
||||
},
|
||||
"homepage": "https://github.com/LLK/scratch-audio#readme",
|
||||
"devDependencies": {
|
||||
"dependencies": {
|
||||
"audio-context": "1.0.1",
|
||||
"minilog": "^3.0.1",
|
||||
"startaudiocontext": "1.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-core": "^6.24.1",
|
||||
"babel-eslint": "^7.2.2",
|
||||
"babel-loader": "^7.1.4",
|
||||
|
@ -29,9 +34,6 @@
|
|||
"eslint": "^3.19.0",
|
||||
"eslint-config-scratch": "^3.1.0",
|
||||
"json": "^9.0.6",
|
||||
"minilog": "^3.0.1",
|
||||
"soundfont-player": "0.10.5",
|
||||
"startaudiocontext": "1.2.1",
|
||||
"travis-after-all": "^1.4.4",
|
||||
"webpack": "^4.8.0",
|
||||
"webpack-cli": "^2.0.15"
|
||||
|
|
|
@ -21,5 +21,10 @@ module.exports = {
|
|||
presets: [['env', {targets: {browsers: ['last 3 versions', 'Safari >= 8', 'iOS >= 8']}}]]
|
||||
}
|
||||
}]
|
||||
},
|
||||
externals: {
|
||||
'audio-context': true,
|
||||
'minilog': true,
|
||||
'startaudiocontext': true
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue