Skip to content

Commit 1ba9e1c

Browse files
committed
build(project): updated .npmignore
1 parent 0e778ef commit 1ba9e1c

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.npmignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/.npmignore
77
/tsconfig.json
88
/tslint.json
9-
/docs/
9+
/docs/website/
1010
/examples/
1111
/tests/
1212
/commitlint.config.js
@@ -20,5 +20,7 @@
2020
*.test.ts
2121
*.test.js
2222
*.test.d.ts
23-
*.map
24-
*.wat
23+
*.test.js.map
24+
*.test.d.ts.map
25+
*.wat
26+
typedoc-sidebar.json

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
"typings": "lib/index.d.ts",
77
"types": "lib/index.d.ts",
88
"scripts": {
9-
"prepublishOnly": "npm run build-wasm && npm run rebuild && npm run test",
9+
"prepublishOnly": "npm run build-md-doc && npm run build-wasm && npm run rebuild && npm run test",
1010
"build": "echo Using TypeScript && tsc -v && tsc -p .",
1111
"build-watch": "echo Using TypeScript && tsc -v && tsc -w -p .",
1212
"build-wasm": "./utils/build-wasm.sh",
13+
"build-md-doc": "./utils/generate-api-docs-md.sh",
1314
"rebuild": "npm run clean && npm run lint && npm run build",
1415
"test": "node --enable-source-maps --test --experimental-test-coverage lib/*.test.js",
1516
"clean": "rm -rf lib examples",

0 commit comments

Comments
 (0)