File tree 3 files changed +11
-12
lines changed
3 files changed +11
-12
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ var sql = sqlParser.stringify(ast);
54
54
55
55
- ${value} like value place holder support.
56
56
57
+ ## Build
58
+
59
+ - Run ` npm run build ` to build the distributable.
60
+
57
61
## LICENSE
58
62
59
63
MIT
Original file line number Diff line number Diff line change 4
4
"description" : " " ,
5
5
"main" : " ./dist/parser/sqlParser.js" ,
6
6
"scripts" : {
7
- "test" : " make test" ,
8
- "benchmark" : " node test/benchmark.js"
7
+ "build" : " jison -m js ./src/sqlParser.jison -o ./dist/parser/sqlParser.js && npm run build-concat" ,
8
+ "build-concat" : " concat -o ./dist/parser/sqlParser.js ./dist/parser/sqlParser.js src/stringify.js src/suffix.js" ,
9
+ "postbuild" : " npm run test:build" ,
10
+ "test:all" : " mocha --require babel-register" ,
11
+ "test:build" : " mocha 'test/*.test.js'" ,
12
+ "test:benchmark" : " mocha test/benchmark.js"
9
13
},
10
14
"repository" : {
11
15
"type" : " git" ,
25
29
"babel-preset-es2015" : " ^6.22.0" ,
26
30
"babel-register" : " ^6.22.0" ,
27
31
"benchmark" : " ^2.1.3" ,
32
+ "concat" : " ^1.0.3" ,
28
33
"debug" : " ^3.1.0" ,
29
34
"jison" : " ^0.4.17" ,
30
35
"mocha" : " ^3.2.0"
You can’t perform that action at this time.
0 commit comments