Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
btd committed Dec 27, 2017
1 parent 120e3d9 commit bcf4588
Show file tree
Hide file tree
Showing 3 changed files with 155 additions and 137 deletions.
22 changes: 17 additions & 5 deletions package.json
Expand Up @@ -16,8 +16,7 @@
"prepare": "npm run build && npm run build:umd && npm run build:cjs:as-function",
"pretest": "npm run build",
"build:cjs:as-function": "rollup --input ./lib/should.js --output.format=cjs --output.file ./as-function.js",
"test":
"mocha -R mocha-better-spec-reporter --require ./cjs/should --color --check-leaks ./test/*.test.js ./test/**/*.test.js",
"test": "mocha -R mocha-better-spec-reporter --require ./cjs/should --color --check-leaks ./test/*.test.js ./test/**/*.test.js",
"zuul": "zuul -- ./test/**/*.test.js ./test/*.test.js",
"build:umd": "rollup -c rollup.config.js --input ./lib/umd.js --output.format=iife --output.file ./should.js"
},
Expand All @@ -28,13 +27,18 @@
"mocha": "^4.0.1",
"mocha-better-spec-reporter": "latest",
"prettier": "^1.7.4",
"rollup": "^0.49.3",
"rollup": "^0.53.0",
"rollup-plugin-node-resolve": "^3.0.0",
"tslint": "^5.8.0",
"typescript": "^2.5.3",
"zuul": "latest"
},
"keywords": ["test", "bdd", "assert", "should"],
"keywords": [
"test",
"bdd",
"assert",
"should"
],
"main": "./cjs/should.js",
"module": "./es6/should.js",
"license": "MIT",
Expand All @@ -45,5 +49,13 @@
"should-type-adaptors": "^1.0.1",
"should-util": "^1.0.0"
},
"files": ["cjs/*", "es6/*", "as-function.js", "should.js", "LICENSE", "*.md", "should.d.ts"]
"files": [
"cjs/*",
"es6/*",
"as-function.js",
"should.js",
"LICENSE",
"*.md",
"should.d.ts"
]
}
4 changes: 3 additions & 1 deletion rollup.config.js
Expand Up @@ -15,7 +15,9 @@ const banner = `/*!
`;

module.exports = {
banner,
output: {
banner
},
plugins: [
nodeResolve({
module: true,
Expand Down

0 comments on commit bcf4588

Please sign in to comment.