-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
125 lines (125 loc) · 4.34 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"name": "askql",
"version": "1.2.2",
"description": "AskQL is a query language that can express every data request",
"private": true,
"main": "dist/index.js",
"scripts": {
"test": "jest --config jest.test.config.js",
"test:dev": "jest --watch --config jest.test.config.js",
"ask": "ASK_PRINT_RESULT=1 jest --config jest.test.config.js --no-cache",
"check": "tsc --noEmit",
"tsc": "tsc",
"tsc:test": "tsc && npm run test --no-cache",
"prebuild": "ts-node scripts/preBuild.ts && tsc",
"build": "jest --config jest.build.config.js --no-cache && npm run playground:build",
"postbuild": "ts-node scripts/postBuild.ts",
"build:test": "npm run build && npm run test --no-cache",
"prettier": "prettier --write --config prettier.config.js .",
"prettier:check": "prettier --config prettier.config.js --check \"**/*.{js,jsx,ts,tsx}\"",
"prettier:scripts": "prettier --write ./scripts",
"lint:js": "eslint . --ext .js,.tsx,.ts",
"lint:js:fix": "npm run lint:js --fix",
"cli": "node dist/cli.js",
"cli:dev": "npx pegjs src/askscript/parser/askscript.grammar.pegjs && ts-node --files src/cli.ts",
"netlify:playground:build": "npm run build && npm run netlify:playground:build-html",
"netlify:playground:build-html": "dotenv -e dist/.env ts-node src/playground/compile.ts src/playground/views/main.handlebars dist/playground/public/index.html",
"playground:build": "ts-node scripts/playgroundBuild.ts && npm run playground:build-assets && npm run playground:build-ts && ts-node scripts/playgroundPostBuild.ts",
"playground:build-assets": "npm run playground:build-assets:img",
"playground:build-assets:img": "imagemin src/playground/public/assets/img/* --out-dir=dist/playground/public/img",
"playground:build-ts": "tsc",
"playground:start": "dotenv -e dist/.env node dist/playground/app.js",
"build:all": "npm run build && npm run playground:build",
"playground:server": "node dist/playground-backend/express/demoAskScriptServer.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"prettier --write",
"eslint --fix"
]
},
"bin": {
"askql": "dist/cli.js",
"askqlServer": "dist/demoServer.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/xFAANG/askql.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/xFAANG/askql/issues"
},
"homepage": "https://askql.org/",
"engines": {
"node": ">=12.14.0"
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@babel/polyfill": "^7.11.5",
"@babel/preset-env": "^7.14.1",
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@jest/environment": "^26.2.0",
"@jest/types": "^26.5.2",
"@types/ace": "^0.0.43",
"@types/cors": "^2.8.7",
"@types/expect": "^24.3.0",
"@types/express": "^4.17.11",
"@types/express-handlebars": "^3.1.0",
"@types/glob": "7.1.3",
"@types/jest": "^26.0.23",
"@types/jsesc": "2.5.1",
"@types/jsonpath": "^0.2.0",
"@types/lodash": "^4.14.161",
"@types/micromatch": "^4.0.1",
"@types/node": "^15.6.1",
"@types/node-fetch": "^2.5.10",
"@types/pegjs": "0.10.2",
"@types/rimraf": "3.0.0",
"@types/shelljs": "^0.8.8",
"@typescript-eslint/eslint-plugin": "^4.0.0",
"@typescript-eslint/parser": "^3.8.0",
"babel-jest": "^27.0.1",
"babel-loader": "^8.1.0",
"babel-plugin-inline-import": "3.0.0",
"chalk": "4.1.0",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"dotenv-cli": "^4.0.0",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"expect": "^26.5.2",
"express": "4.17.1",
"express-handlebars": "^5.3.2",
"fs.promises": "0.1.2",
"glob": "7.1.6",
"golden-layout": "^2.1.1",
"handlebars": "^4.7.6",
"husky": "^6.0.0",
"imagemin-cli": "^6.0.0",
"jest": "^26.5.2",
"jsesc": "^3.0.2",
"lint-staged": "^10.4.0",
"lodash": "^4.17.19",
"micromatch": "^4.0.2",
"nanoid": "^3.1.23",
"node-fetch": "2.6.1",
"node-sass": "^6.0.0",
"pegjs": "0.10.0",
"prettier": "^2.1.2",
"rimraf": "3.0.2",
"shelljs": "^0.8.4",
"ts-node": "^9.1.1",
"typescript": "^4.0.3",
"webpack": "^5.38.0",
"webpack-cli": "^4.6.0",
"jsonpath": "^1.1.1"
}
}