Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit e6d18c9

Browse files
authored
Merge pull request #80 from Kronos-Integration/template-sync-1
merge package template from Kronos-Tools/npm-package-template
2 parents f13335a + 9769bb8 commit e6d18c9

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2016 darlenya & arlac77
1+
Copyright (c) 2016,2017 darlenya & arlac77
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
"module": "src/module.js",
66
"main": "dist/module.js",
77
"scripts": {
8-
"cover": "npm run build && node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -u exports tests/*_test.js",
9-
"test": "npm run build && node_modules/.bin/mocha tests/*_test.js && markdown-doctest",
8+
"cover": "npm run prepublish && istanbul cover node_modules/.bin/_mocha -- -u exports tests/*_test.js",
9+
"test": "mocha tests/*_test.js",
1010
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
11-
"build": "node_modules/rollup/bin/rollup --output=dist/module.js -c -- src/module.js",
12-
"docs": "jsdoc2md -l off -t doc/README.hbs -f src/*.js > README.md"
11+
"docs": "jsdoc2md -l off -t doc/README.hbs -f src/*.js > README.md",
12+
"prepublish": "rollup --output=dist/module.js -c -- src/module.js",
13+
"pretest": "npm run prepublish",
14+
"posttest": "markdown-doctest"
1315
},
1416
"repository": {
1517
"type": "git",

0 commit comments

Comments
 (0)