-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 3.08 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 3.08 KB
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
{
"name": "@simplehealth/mysql-simulator",
"version": "1.9.3",
"main": "dist/index.js",
"license": "MIT",
"bin": {
"mysql-simulate": "dist/sim/cli.js"
},
"files": [
"dist/"
],
"scripts": {
"build": "yarn run build:clean && yarn run build:ast && yarn run build:parser && yarn run build:dist && yarn run build:flow",
"build:clean": "rimraf dist",
"build:ast": "yarn run -s generate-ast --builtin Encoding --builtin Precision --builtin UnaryOp --builtin BinaryOp --builtin GeneratedColumnMode --builtin Direction --builtin MatchMode --builtin ReferenceOption --builtin IndexKind --builtin IndexType src/ast/ast.grammar src/ast/index.js && import-sort --write src/ast/index.js && prettier --write src/ast/index.js",
"build:parser": "pegjs --allowed-start-rules start --cache src/parser/mysql.pegjs",
"build:flow": "flow-copy-source -v -i '**/__tests__/**' -i '**/*.spec.*' src dist",
"build:dist": "babel -d dist src --ignore '**/__tests__/**' --ignore '**/*.spec.*'",
"check": "yarn run check:eslint && yarn run check:prettier && yarn run check:import-sort",
"check:eslint": "eslint --report-unused-disable-directives src",
"check:import-sort": "import-sort --list-different 'src/**/*.js' '!src/parser/mysql.js'",
"check:prettier": "prettier --list-different 'src/**/*.js' 'src/**/*.pegjs' '!src/parser/mysql.js'",
"tdd": "onchange 'src/**' 'tests/*.sql' -- './test.sh'",
"test": "./test.sh -s utf8 && yarn run -s check && yarn run -s flow && jest src",
"flow": "flow --include-warnings",
"prepublish": "in-publish && yarn run actually-prepublish || not-in-publish",
"actually-prepublish": "yarn run build && yarn run test && yarn run build",
"format": "yarn run -s eslint --fix --report-unused-disable-directives src && yarn run -s import-sort --write 'src/**/*.js' && yarn run -s prettier --write 'src/**/*.js' 'src/**/*.pegjs' '!src/parser/mysql.js'"
},
"homepage": "https://github.com/SimpleContacts/mysql-simulator",
"repository": {
"type": "git",
"url": "git+https://github.com/SimpleContacts/mysql-simulator"
},
"jest": {
"moduleFileExtensions": [
"js",
"pegjs",
"doc"
]
},
"devDependencies": {
"@babel/cli": "^7.17.0",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-flow": "^7.16.7",
"ast-generator": "^0.0.6",
"babel-eslint": "^10.1.0",
"colordiff": "^1.0.4",
"eslint": "^7.32.0",
"eslint-plugin-flowtype": "^5.9.2",
"flow-bin": "^0.172.0",
"flow-copy-source": "^2.0.9",
"flow-typed": "^3.6.1",
"import-sort-cli": "^6.0.0",
"import-sort-parser-babylon": "^6.0.0",
"import-sort-style-eslint": "^6.0.0",
"import-sort-style-module": "^6.0.0",
"in-publish": "^2.0.1",
"jest": "^27.5.1",
"onchange": "^7.1.0",
"pegjs": "^0.10.0",
"prettier": "^2.5.1",
"prettier-plugin-pegjs": "^0.5.0",
"rimraf": "^3.0.2"
},
"dependencies": {
"@babel/runtime": "^7.17.2",
"commander": "^9.0.0",
"invariant": "^2.2.4",
"lodash": "^4.17.21",
"rule-of-law": "^0.0.10"
}
}