-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.35 KB
/
package.json
File metadata and controls
43 lines (43 loc) · 1.35 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
{
"name": "syntaxe-express",
"version": "1.2.5",
"description": "A middleware built on the original syntaxe data query library for express.js and nest.js applications.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "index.d.ts",
"scripts": {
"test": "jest",
"build": "babel src -d dist/cjs-temp",
"build:cjs": "babel src -d dist/cjs-temp",
"minify:cjs": "npx minify-all-cli -s \"./dist/cjs-temp\" -d \"./dist/cjs\" && rmdir /s /q \"dist/cjs-temp\"",
"minify:esm": "npx minify-all-cli -s \"./src\" -d \"./dist/esm\"",
"move:index": "timeout /t 1 /nobreak && cd dist/cjs && move index.js main.js",
"create:index": "cd dist/cjs && echo \"use strict\";module.exports=require(\"./main\").default; > index.js",
"build:prod": "npm run build:cjs && npm run minify:cjs && npm run minify:esm && npm run move:index && npm run create:index"
},
"keywords": [
"nodejs",
"expressjs",
"nestjs",
"data-querying",
"javascript-library",
"overfetching",
"underfetching",
"operators",
"middleware",
"schema",
"commonjs",
"modules"
],
"author": "Olushola Lana",
"license": "MIT",
"dependencies": {
"@babel/preset-env": "^7.24.4",
"babel-jest": "^29.7.0",
"jest": "^29.7.0"
},
"devDependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.4"
}
}