Skip to content

Commit b9c3e23

Browse files
committed
provide npm scripts for running a dev server and running the tests
1 parent d11801b commit b9c3e23

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

package.json

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,25 @@
11
{
2-
"name": "javascript-state-machine",
3-
"description": "A simple finite state machine library",
4-
"homepage": "https://github.com/jakesgordon/javascript-state-machine",
5-
"keywords": ["state machine", "server", "client"],
6-
"author": "Jake Gordon <jake@codeincomplete.com>",
7-
"repository": {"type": "git", "url": "git://github.com/jakesgordon/javascript-state-machine.git"},
8-
"main": "state-machine.js",
2+
"name": "javascript-state-machine",
3+
"description": "A simple finite state machine library",
4+
"homepage": "https://github.com/jakesgordon/javascript-state-machine",
5+
"keywords": [
6+
"state machine",
7+
"server",
8+
"client"
9+
],
10+
"author": "Jake Gordon <jake@codeincomplete.com>",
11+
"repository": {
12+
"type": "git",
13+
"url": "git://github.com/jakesgordon/javascript-state-machine.git"
14+
},
15+
"main": "state-machine.js",
916
"devDependencies": {
10-
"qunit": "~0.6.2"
17+
"local-web-server": "~1.2.6",
18+
"qunit": "~0.9.1"
1119
},
12-
"version": "2.4.0"
20+
"version": "2.4.0",
21+
"scripts": {
22+
"start": "ws --rewrite '/test -> /test/'",
23+
"test": "node test/runner"
24+
}
1325
}

0 commit comments

Comments
 (0)