@brownnrl/geomlib 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "@brownnrl/geomlib",
3
+ "version": "0.1.0",
4
+ "description": "Interactive Euclidean geometry constructions in the browser — a TypeScript port of David E. Joyce's 1996 Java Geometry Applet.",
5
+ "keywords": [
6
+ "euclid",
7
+ "elements",
8
+ "geometry",
9
+ "constructions",
10
+ "canvas",
11
+ "mathematics",
12
+ "education"
13
+ ],
14
+ "main": "dist/bundle.js",
15
+ "files": [
16
+ "dist/bundle.js",
17
+ "dist/bundle.js.map",
18
+ "LICENSE",
19
+ "NOTICE.md",
20
+ "README.md"
21
+ ],
22
+ "publishConfig": {
23
+ "access": "public"
24
+ },
25
+ "scripts": {
26
+ "build": "tsc --noEmit",
27
+ "bundle": "npx webpack",
28
+ "bundle:prod": "NODE_ENV=production npx webpack",
29
+ "test": "npm run test:snapshot && npm run test:unit",
30
+ "test:snapshot": "mocha --reporter min tests/SnapshotTest.ts",
31
+ "test:unit": "mocha tests/CircleTest.ts tests/ColorsTest.ts tests/LineTest.ts tests/ParseParamTest.ts tests/PlaneTest.ts tests/PointTest.ts tests/PolygonTest.ts tests/PolyhedronTest.ts tests/SectorTest.ts tests/SlateTest.ts tests/SphereTest.ts",
32
+ "coverage": "c8 mocha --reporter min tests/SnapshotTest.ts tests/CircleTest.ts tests/ColorsTest.ts tests/LineTest.ts tests/ParseParamTest.ts tests/PlaneTest.ts tests/PointTest.ts tests/PolygonTest.ts tests/PolyhedronTest.ts tests/SectorTest.ts tests/SlateTest.ts tests/SphereTest.ts",
33
+ "coverage:unit": "c8 mocha --reporter min tests/CircleTest.ts tests/ColorsTest.ts tests/LineTest.ts tests/ParseParamTest.ts tests/PlaneTest.ts tests/PointTest.ts tests/PolygonTest.ts tests/PolyhedronTest.ts tests/SectorTest.ts tests/SlateTest.ts tests/SphereTest.ts",
34
+ "coverage:report": "c8 report --reporter=html",
35
+ "snapshots:clean": "rm -rf tests/snapshots && mkdir -p tests/snapshots && touch tests/snapshots/.gitkeep",
36
+ "prepublishOnly": "npm run test:unit && npm run bundle:prod"
37
+ },
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "https://github.com/brownnrl/euclid.git"
41
+ },
42
+ "author": "Nelson Brown <brownnrl@gmail.com>",
43
+ "license": "MIT",
44
+ "overrides": {
45
+ "serialize-javascript": "^7.0.5",
46
+ "diff": "^8.0.4",
47
+ "tar": "^7.5.13"
48
+ },
49
+ "devDependencies": {
50
+ "@types/mocha": "^10.0.10",
51
+ "@types/node": "^22.19.17",
52
+ "@types/pngjs": "^6.0.5",
53
+ "c8": "^11.0.0",
54
+ "canvas": "^3.2.3",
55
+ "css-loader": "^7.1.2",
56
+ "file-loader": "^6.2.0",
57
+ "html-webpack-plugin": "^5.6.0",
58
+ "install": "^0.13.0",
59
+ "mocha": "^11.7.5",
60
+ "node-loader": "^2.0.0",
61
+ "pixelmatch": "^5.3.0",
62
+ "pngjs": "^7.0.0",
63
+ "style-loader": "^4.0.0",
64
+ "ts-loader": "^9.5.7",
65
+ "ts-node": "^10.9.2",
66
+ "typescript": "^5.5.4",
67
+ "webpack": "^5.106.1",
68
+ "webpack-cli": "^5.1.4",
69
+ "webpack-shell-plugin-next": "^2.3.1"
70
+ }
71
+ }