mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
Use cpy-cli to alias the new sourcemap file to the old name
Learning from past experiences, just changing the name of a file is going to break somebody's code, so let's not go there, even if it makes more sense.
This commit is contained in:
4670
package-lock.json
generated
4670
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -17,6 +17,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"coffeescript": "^1.12.7",
|
||||
"cpy-cli": "^3.1.1",
|
||||
"docco": "^0.9.1",
|
||||
"eslint": "^8.7.0",
|
||||
"karma": "^6.3.11",
|
||||
@@ -29,6 +30,7 @@
|
||||
"scripts": {
|
||||
"test": "karma start && coffee test/model.coffee && npm run lint",
|
||||
"build": "uglifyjs backbone.js --mangle --source-map url=backbone-min.js.map -o backbone-min.js",
|
||||
"alias-sourcemap": "cpy --rename=backbone-min.map backbone-min.js.map .",
|
||||
"doc": "docco backbone.js && docco examples/todos/todos.js examples/backbone.localStorage.js",
|
||||
"lint": "eslint backbone.js test/*.js"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user