-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
68 lines (68 loc) · 2.8 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
{
"name": "lmv-ql",
"version": "1.3.0",
"description": "Autodesk Platform Services (formerly Forge) viewer model query language and engine",
"types": "./build/types/index.d.ts",
"main": "./build/index.js",
"files": [
"build/**/*"
],
"scripts": {
"clean": "rimraf ./build",
"clean:obj": "rimraf ./build/obj ./build/types/engine.d.ts",
"clean:types": "rimraf ./build/types/src ./build/types/tests ./build/types/tools ./build/types/engine.d.ts",
"build": "npm run clean && npm run build:engine && npm run build:package && npm run bundle:index && npm run clean:obj",
"build:engine": "npm run compile:grammar && npm run compile:engine && npm run bundle:engine && npm run compile:make-engine-ts && npm run clean",
"build:package": "npm run compile:package && npm run compile:copy-decs-ts",
"compile:grammar": "ohm generateBundles src/*.ohm --withTypes",
"compile:engine": "tsc -p ./configs/tsconfig.engine.json && npm run compile:copy-missing-js",
"compile:package": "tsc -p ./configs/tsconfig.index.json && npm run compile:copy-missing-js",
"compile:make-engine-ts": "node ./tools/compileEngineModule.js",
"compile:copy-missing-js": "copyfiles ./src/*.js ./build/obj",
"compile:copy-decs-ts": "copyfiles ./decs.d.ts ./build/types",
"bundle:engine": "esbuild ./build/obj/propertyDatabaseFunctions.js --bundle --outfile=./build/obj/engine.js --platform=browser --format=iife --global-name=engine --minify",
"bundle:index": "esbuild ./build/obj/index.js --bundle --outfile=./build/index.js --platform=browser --format=esm",
"prepack": "npm run build",
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' TS_NODE_PROJECT='./configs/tsconfig.tests.json' mocha",
"test:windows": "set TS_NODE_COMPILER_OPTIONS={\"module\":\"commonjs\"} && set TS_NODE_PROJECT=./configs/tsconfig.tests.json&& mocha --input-type=module"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CADBIMDeveloper/LMV-QL.git"
},
"keywords": [
"autodesk",
"autodesk-platform-services",
"autodes-forge",
"forge-viewer",
"Autodesk Platform Services viewer",
"Autodesk Forge",
"Forge viewer",
"filter",
"filters",
"query-language",
"query language",
"query-builder",
"query builder"
],
"author": "Alex Ignatovich",
"license": "MIT",
"bugs": {
"url": "https://github.com/CADBIMDeveloper/LMV-QL/issues"
},
"homepage": "https://github.com/CADBIMDeveloper/LMV-QL#readme",
"devDependencies": {
"@ohm-js/cli": "^2.0.0",
"@types/chai": "^4.3.10",
"@types/mocha": "^10.0.4",
"chai": "^4.3.10",
"copyfiles": "^2.4.1",
"esbuild": "^0.19.5",
"mocha": "^10.2.0",
"move-file-cli": "^3.0.0",
"ohm-js": "^17.1.0",
"rimraf": "^5.0.5",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
}