pg-ast 0.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,66 +1,42 @@
1
1
  {
2
2
  "name": "pg-ast",
3
- "version": "0.0.1",
4
- "description": "PostgreSQL ASTs in JS",
3
+ "version": "2.0.2",
5
4
  "author": "Dan Lynch <pyramation@gmail.com>",
6
- "homepage": "https://github.com/pyramation/pg-ast#readme",
5
+ "description": "PostgreSQL ASTs in JS",
6
+ "main": "index.js",
7
+ "module": "esm/index.js",
8
+ "types": "index.d.ts",
9
+ "homepage": "https://github.com/launchql/launchql",
7
10
  "license": "SEE LICENSE IN LICENSE",
8
- "main": "main/index.js",
9
- "module": "module/index.js",
10
- "directories": {
11
- "lib": "src",
12
- "test": "__tests__"
13
- },
14
- "files": [
15
- "main",
16
- "module"
17
- ],
18
- "scripts": {
19
- "build:main": "cross-env BABEL_ENV=production babel src --out-dir main --delete-dir-on-start",
20
- "build:module": "cross-env MODULE=true babel src --out-dir module --delete-dir-on-start",
21
- "build": "npm run build:module && npm run build:main",
22
- "prepublish": "npm run build",
23
- "dev": "cross-env NODE_ENV=development babel-node src/index",
24
- "watch": "cross-env NODE_ENV=development babel-watch src/index",
25
- "lint": "eslint src --fix",
26
- "test": "jest",
27
- "test:watch": "jest --watch",
28
- "test:debug": "node --inspect node_modules/.bin/jest --runInBand"
29
- },
30
11
  "publishConfig": {
31
- "access": "public"
12
+ "access": "public",
13
+ "directory": "dist"
32
14
  },
33
15
  "repository": {
34
16
  "type": "git",
35
- "url": "https://github.com/pyramation/pg-ast"
17
+ "url": "https://github.com/launchql/launchql"
36
18
  },
37
- "keywords": [],
38
19
  "bugs": {
39
- "url": "https://github.com/pyramation/pg-ast/issues"
20
+ "url": "https://github.com/launchql/launchql/issues"
40
21
  },
41
- "devDependencies": {
42
- "@babel/cli": "7.11.6",
43
- "@babel/core": "7.11.6",
44
- "@babel/node": "^7.10.5",
45
- "@babel/plugin-proposal-class-properties": "7.10.4",
46
- "@babel/plugin-proposal-export-default-from": "7.10.4",
47
- "@babel/plugin-proposal-object-rest-spread": "7.11.0",
48
- "@babel/plugin-transform-runtime": "7.11.5",
49
- "@babel/preset-env": "7.11.5",
50
- "babel-core": "7.0.0-bridge.0",
51
- "babel-eslint": "10.1.0",
52
- "babel-jest": "25.1.0",
53
- "babel-watch": "^7.0.0",
54
- "cross-env": "^7.0.2",
55
- "eslint": "6.8.0",
56
- "eslint-config-prettier": "^6.10.0",
57
- "eslint-plugin-prettier": "^3.1.2",
58
- "jest": "^24.5.0",
59
- "jest-in-case": "^1.0.2",
60
- "prettier": "^2.1.2",
61
- "regenerator-runtime": "^0.13.7"
22
+ "scripts": {
23
+ "copy": "copyfiles -f ../../LICENSE README.md package.json dist",
24
+ "clean": "rimraf dist/**",
25
+ "prepare": "npm run build",
26
+ "build": "npm run clean; tsc; tsc -p tsconfig.esm.json; npm run copy",
27
+ "build:dev": "npm run clean; tsc --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
28
+ "lint": "eslint . --fix",
29
+ "test": "jest",
30
+ "test:watch": "jest --watch"
62
31
  },
32
+ "keywords": [
33
+ "postgres",
34
+ "ast",
35
+ "parser",
36
+ "parse"
37
+ ],
63
38
  "dependencies": {
64
- "@babel/runtime": "^7.11.2"
65
- }
66
- }
39
+ "pgsql-parser": "^13.16.0"
40
+ },
41
+ "gitHead": "d4ef195aec8d4c5a470f507b5a57c6c8e81124f4"
42
+ }