Skip to content

Commit 9ddb854

Browse files
committed
chore(example): update npm run script in example
1 parent dd283b3 commit 9ddb854

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

example/package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"description": "",
66
"main": "index.js",
77
"scripts": {
8-
"test": "echo \"Error: no test specified\" && exit 1"
8+
"setup": "dtsm install",
9+
"build": "tsc -p ./",
10+
"exec": "node index",
11+
"test": "npm run setup && npm run build && npm run exec"
912
},
1013
"author": "vvakame+dev@gmail.com",
1114
"license": "MIT",

example/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"target": "es5",
55
"noImplicitAny": true,
66
"rootDir": ".",
7-
"sourceMap": false
7+
"sourceMap": false,
8+
"listFiles": true
89
},
910
"exclude": [
1011
"node_modules"

0 commit comments

Comments
 (0)