-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
74 lines (74 loc) · 3.25 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
{
"name": "@bitbybit-dev/occt",
"version": "0.19.0-alpha.0",
"description": "Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel. Run in Node and in Browser.",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/bitbybit-dev/bitbybit-occt"
},
"directories": {
"lib": "lib"
},
"keywords": [
"Bit By Bit Developers", "bitbybit", "bitbybit.dev", "Geometry", "CAD", "3D", "OCCT", "OpenCascade", "Parametric", "Modeling",
"Browser", "Node", "3D algorithms", "STEP", "STP", "3D modeling", "3D printing", "3D printing algorithms", "3D software", "OpenCascade Technology", "AEC", "Automotive", "Engineering",
"CAE", "CAM"
],
"scripts": {
"build": "tsc -p tsconfig.bitbybit.json",
"build-p": "npm run build && npm run copy-package && npm run copy-occt && npm run copy-readme-license && npm run delete-coverage",
"copy-package": "cp -R ./package.json ./dist/package.json",
"copy-occt": "cp -R ./bitbybit-dev-occt ./dist",
"copy-readme-license": "cp -R ./README.md ./dist && cp -R ./LICENSE ./dist",
"delete-coverage": "rm -R ./dist/coverage",
"build-occt": "node generate-prod-build-yaml.js && cd bitbybit-dev-occt && docker run --rm -it -v \"$(pwd):/src\" -u \"$(id -u):$(id -g)\" donalffons/opencascade.js bitbybit-dev-occt.yml && cd ../",
"build-occt-multithreaded": "node generate-prod-build-yaml-multithreaded.js && cd bitbybit-dev-occt-multithreaded && docker run --rm -it -v \"$(pwd):/src\" -u \"$(id -u):$(id -g)\" donalffons/opencascade.js:multi-threaded bitbybit-dev-occt.yml && cd ../",
"test": "set NODE_OPTIONS=--experimental-specifier-resolution=node && jest --watchAll=true",
"test-c": "set NODE_OPTIONS=--experimental-specifier-resolution=node && jest --coverage --watchAll=false",
"test-c-l": "set NODE_OPTIONS=--experimental-specifier-resolution=node && jest --coverage --watchAll=true",
"lint": "eslint . --ext .ts",
"lint-fix": "eslint . --ext .ts --fix"
},
"author": "Bit by bit developers",
"license": "MIT",
"types": "./index.d.ts",
"type": "module",
"dependencies": {},
"devDependencies": {
"sass": "1.57.1",
"@testing-library/jest-dom": "5.14.1",
"mvdir": "1.0.21",
"jest": "29.4.1",
"ts-node": "10.9.1",
"ts-jest": "29.0.0",
"typescript": "4.8.2",
"@types/jest": "29.0.0",
"babel-jest": "29.0.0",
"@babel/core": "7.16.0",
"@babel/preset-env": "7.16.0",
"@babel/preset-typescript": "7.16.0",
"jest-html-reporters": "3.0.11",
"@typescript-eslint/parser": "5.60.1",
"@typescript-eslint/eslint-plugin": "5.60.1"
},
"jest": {
"preset": "ts-jest",
"transform": {
"\\.[jt]sx?$": "babel-jest"
},
"extensionsToTreatAsEsm": [
".ts"
],
"transformIgnorePatterns": [
],
"collectCoverageFrom": [
"lib/services/**/*.ts",
"lib/occ-helper.ts",
"lib/occ-service.ts",
"lib/api/shapes-helper.service.ts",
"lib/api/vector-helper.service.ts",
"!**/index.ts"
]
}
}