-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.2 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.2 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
{
"name": "syntaxe",
"version": "1.3.4",
"description": "A declarative data querying library inspired by graphql.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "index.d.ts",
"scripts": {
"test": "jest",
"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",
"data-querying",
"javascript-library",
"overfetching",
"underfetching",
"operators",
"schema",
"commonjs"
],
"author": "Olushola Lana",
"license": "MIT",
"devDependencies": {
"@babel/preset-env": "^7.24.0",
"babel-jest": "^29.7.0",
"jest": "^29.7.0"
},
"dependencies": {
"@babel/cli": "^7.24.1",
"@babel/core": "^7.24.4"
}
}