Switch to Yarn for dependency management
This commit is contained in:
6892
package-lock.json
generated
6892
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@@ -43,14 +43,14 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "jscs . && jshint . --exclude-path .gitignore",
|
"lint": "jscs . && jshint . --exclude-path .gitignore",
|
||||||
"standalone": "browserify index.js --standalone Pjax > pjax.js",
|
"standalone": "browserify index.js --standalone Pjax > pjax.js",
|
||||||
"build": "npm run standalone && uglifyjs pjax.js -o pjax.min.js",
|
"build": "yarn run standalone && uglifyjs pjax.js -o pjax.min.js",
|
||||||
"build-debug": "browserify index.js --debug --standalone Pjax > pjax.js",
|
"build-debug": "browserify index.js --debug --standalone Pjax > pjax.js",
|
||||||
"tests": "tape -r ./tests/setup.js \"./tests/**/*.js\"",
|
"tests": "tape -r ./tests/setup.js \"./tests/**/*.js\"",
|
||||||
"test": "npm run lint && npm run tests | tap-spec",
|
"test": "yarn run lint && yarn run tests | tap-spec",
|
||||||
"coverage-tests": "npm run tests | tap-nyc",
|
"coverage-tests": "yarn run tests | tap-nyc",
|
||||||
"coverage": "nyc -x \"tests/**\" npm run coverage-tests",
|
"coverage": "nyc -x \"tests/**\" yarn run coverage-tests",
|
||||||
"example": "opn http://localhost:3000/example/ && serve -p 3000 .",
|
"example": "opn http://localhost:3000/example/ && serve -p 3000 .",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "yarn run build",
|
||||||
"release": "npmpub"
|
"release": "npmpub"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user