forked from oguimbal/pgsql-ast-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 3.15 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"name": "pgsql-ast-parser",
"version": "9.2.1",
"description": "Yet another simple Postgres SQL parser/modifier",
"main": "index.js",
"repository": "https://github.com/oguimbal/pgsql-ast-parser",
"scripts": {
"start": "webpack --config webpack.config.js",
"build": "rimraf lib && webpack --config webpack.config.js --prod",
"release": "npm run release-node && npm run release-deno",
"release-node": "git diff --exit-code && npm run test && npm run cover && npm run build && cp -r src lib/src && npm run build:deno && deno run deno-test.ts && npm publish lib",
"release-deno": "git add -A && git commit -m \"Build deno [autogenerated commit]\" && PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag $PACKAGE_VERSION && git push --tags",
"typecheck": "tsc --project tsconfig.json --noEmit",
"deno:gen": "nearleyc src/syntax/main.ne -o .deno/syntax/main.ne.ts && nearleyc src/literal-syntaxes/array.ne -o .deno/literal-syntaxes/array.ne.ts&& nearleyc src/literal-syntaxes/geometric.ne -o .deno/literal-syntaxes/geometric.ne.ts&& nearleyc src/literal-syntaxes/interval.ne -o .deno/literal-syntaxes/interval.ne.ts&& nearleyc src/literal-syntaxes/interval-iso.ne -o .deno/literal-syntaxes/interval-iso.ne.ts",
"build:deno": "rimraf .deno && node ./deno-transpile.js --copy && npm run deno:gen && node ./deno-transpile.js --process",
"test": "mochapack src/**/*.spec.ts",
"cover": "cross-env NODE_ENV=coverage nyc --reporter=lcov --reporter=text npm run test"
},
"author": "Olivier Guimbal",
"license": "MIT",
"keywords": [
"postgres",
"db",
"database",
"pg",
"sql",
"pgsql",
"postgresql",
"node",
"parser",
"ast"
],
"dependencies": {
"moo": "^0.5.1",
"nearley": "^2.19.5"
},
"devDependencies": {
"@babel/cli": "^7.10.5",
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.4",
"@hot-loader/react-dom": "^16.13.0",
"@oguimbal/pg-promise": "^10.5.8",
"@types/chai": "^4.2.11",
"@types/mocha": "^8.0.0",
"@types/moo": "^0.5.3",
"@types/nearley": "^2.11.1",
"@types/node": "^14.0.23",
"@types/object-hash": "^1.3.3",
"@types/react": "^16.9.43",
"babel": "^6.23.0",
"babel-loader": "^8.1.0",
"babel-preset-react-app": "^9.1.2",
"chai": "^4.2.0",
"chai-shallow-deep-equal": "^1.4.6",
"copy-webpack-plugin": "^6.0.3",
"cross-env": "^7.0.2",
"css-loader": "^4.1.0",
"dedent": "^0.7.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.3.0",
"istanbul-instrumenter-loader": "^3.0.1",
"mocha": "^8.0.1",
"mochapack": "^2.0.3",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"source-map-support": "^0.5.19",
"ts-node": "^8.10.2",
"ts-loader": "^8.0.0",
"typescript": "^3.9.6",
"vscode-mocha-hmr": "^1.0.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.0",
"webpack-node-externals": "^1.7.2"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.spec.ts"
],
"instrument": false,
"sourceMap": false
}
}