1 | {
|
2 | "name": "@zeainc/zea-engine",
|
3 | "fileName": "index",
|
4 | "libraryName": "ZeaEngine",
|
5 | "version": "4.12.0",
|
6 | "author": "Zea Inc.",
|
7 | "description": "A high peformance and customizable WebGL rendering engine for large CAD models.",
|
8 | "license": "SEE LICENSE HERE: https://www.zea.live/legal/terms-of-service-zea-3d-graphics-engine-sdk",
|
9 | "main": "dist/index.cjs.js",
|
10 | "browser": "dist/index.esm.mjs",
|
11 | "umd": "dist/index.umd.js",
|
12 | "umd.min": "dist/index.umd.min.js",
|
13 | "exports": {
|
14 | ".": {
|
15 | "import": "./dist/index.esm.mjs",
|
16 | "require": "./dist/index.cjs.js"
|
17 | }
|
18 | },
|
19 | "types": "dist/zea-engine.d.ts",
|
20 | "files": [
|
21 | "dist/zea-engine.d.ts",
|
22 | "dist/index.cjs.*",
|
23 | "dist/index.esm.*",
|
24 | "dist/index.umd.*"
|
25 | ],
|
26 | "engines": {
|
27 | "node": ">=10"
|
28 | },
|
29 | "scripts": {
|
30 | "build": "rollup -c --environment BUILD:production",
|
31 | "build:dev": "rollup -c",
|
32 | "build:watch": "rollup -w -c",
|
33 | "clean:all": "rm -Rf dist/ node_modules/ buildcache yarn.lock",
|
34 | "clean:build": "rm -Rf dist/ buildcache",
|
35 | "docs": "typedoc",
|
36 | "docs:serve": "docsify serve docs/",
|
37 | "prepare": "yarn run build",
|
38 | "pack": "yarn run pack",
|
39 | "generate": "plop",
|
40 | "release": "standard-version",
|
41 | "start": "http-server --cors --port 8000 --silent",
|
42 | "start:watch": "es-dev-server --cors --app-index testing-e2e/index.html --open --watch",
|
43 | "dev": "npm-run-all --parallel build:watch start:watch",
|
44 | "test": "jest",
|
45 | "test:coverage": "jest --coverage",
|
46 | "test:debug": "node --inspect ./node_modules/jest/bin/jest.js --runInBand --watch",
|
47 | "test:watch": "jest --watch",
|
48 | "test:e2e": "percy exec -- cypress run --browser electron --headless",
|
49 | "test:e2e:only": "percy exec -- cypress run --browser chrome --headless --spec cypress/integration/shader-facenormals-spec.js",
|
50 | "test:e2e:watch": "percy exec -- cypress open",
|
51 | "lint": "tsdx lint",
|
52 | "size": "size-limit",
|
53 | "analyze": "size-limit --why"
|
54 | },
|
55 | "husky": {
|
56 | "hooks": {
|
57 | "pre-commit": "tsdx lint"
|
58 | }
|
59 | },
|
60 | "dependencies": {
|
61 | "lodash-es": "^4.17.21"
|
62 | },
|
63 | "size-limit": [
|
64 | {
|
65 | "path": "dist/zea-engine.cjs.production.min.js",
|
66 | "limit": "2100 KB"
|
67 | },
|
68 | {
|
69 | "path": "dist/zea-engine.esm.js",
|
70 | "limit": "2100 KB"
|
71 | }
|
72 | ],
|
73 | "devDependencies": {
|
74 | "@percy/cli": "^1.1.0",
|
75 | "@percy/cypress": "^3.1.1",
|
76 | "@rollup/plugin-commonjs": "^21.0.1",
|
77 | "@rollup/plugin-json": "^4.1.0",
|
78 | "@rollup/plugin-typescript": "^8.3.1",
|
79 | "@size-limit/preset-small-lib": "^5.0.3",
|
80 | "@types/debug": "^4.1.7",
|
81 | "@types/jest": "^26.0.23",
|
82 | "@types/semver": "^7.3.8",
|
83 | "@types/webxr": "^0.5.1",
|
84 | "@zeainc/jsdocs2md": "^0.0.8",
|
85 | "@zeainc/zea-tree-view": "^0.1.5",
|
86 | "@zeainc/zea-ux": "^4.1.0",
|
87 | "babel-jest": "^27.0.5",
|
88 | "caniuse-lite": "^1.0.30001312",
|
89 | "copyfiles": "latest",
|
90 | "cypress": "^9.5.4",
|
91 | "docsify-cli": "^4.4.4",
|
92 | "es-dev-server": "^2.1.0",
|
93 | "http-server": "^13.0.1",
|
94 | "husky": "^7.0.4",
|
95 | "jest": "^27.0.6",
|
96 | "jest-coverage-badges": "^1.1.2",
|
97 | "license-checker": "^25.0.1",
|
98 | "npm-run-all": "^4.1.5",
|
99 | "prettier": "^2.5.0",
|
100 | "rollup": "^2.60.1",
|
101 | "rollup-plugin-base64": "^1.0.1",
|
102 | "rollup-plugin-dts": "^4.0.1",
|
103 | "rollup-plugin-glslify": "^1.2.0",
|
104 | "rollup-plugin-terser": "^7.0.2",
|
105 | "rollup-plugin-typescript": "^1.0.1",
|
106 | "rollup-plugin-typescript2": "0.31.1",
|
107 | "rollup-plugin-web-worker-loader": "^1.6.1",
|
108 | "size-limit": "^5.0.3",
|
109 | "standard-version": "^9.3.2",
|
110 | "ts-jest": "^27.0.3",
|
111 | "tsdx": "^0.14.1",
|
112 | "tslib": "^2.3.1",
|
113 | "typedoc": "^0.25.1",
|
114 | "typedoc-plugin-markdown": "^3.16.0",
|
115 | "typescript": "^4.8"
|
116 | }
|
117 | }
|