Skip to content

Commit

Permalink
build: update make-module script
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Nov 18, 2019
1 parent 19e8427 commit c63f2b3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/make-module
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,19 @@ cat << EOF > $MODULE/package.json
"build:release": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module all",
"build:es6": "tsc --declaration",
"build:test": "rimraf build && tsc -p test/tsconfig.json",
"test": "yarn build:test && mocha build/test/*.js",
"cover": "yarn build:test && nyc mocha build/test/*.js && nyc report --reporter=lcov",
"test": "mocha test",
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts .nyc_output build coverage doc lib",
"doc": "node_modules/.bin/typedoc --mode modules --out doc src",
"pub": "yarn build:release && yarn publish --access public"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^0.1.3",
"@types/mocha": "^5.2.6",
"@types/node": "^12.6.3",
"mocha": "^6.1.4",
"nyc": "^14.0.0",
"ts-node": "^8.5.2",
"typedoc": "^0.15.0",
"typescript": "^3.6.4"
},
Expand Down Expand Up @@ -111,6 +113,7 @@ EOF

echo "writing .npmignore..."
cat << EOF > $MODULE/.npmignore
.ae
.cache
.meta
.nyc_output
Expand Down

0 comments on commit c63f2b3

Please sign in to comment.