-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
57 lines (57 loc) · 1.77 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
{
"name": "@mathigon/boost",
"version": "1.2.30",
"license": "MIT",
"homepage": "https://mathigon.io/boost",
"repository": "mathigon/boost.js",
"description": "DOM, Webcomponents, Animations, Events and AJAX Library.",
"keywords": [
"browser",
"DOM",
"webcomponents",
"events",
"animations",
"AJAX"
],
"engines": {
"node": ">=16"
},
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js"
},
"./components": {
"import": "./dist/components.js"
}
},
"scripts": {
"test": "ts-node node_modules/tape/bin/tape test/**/*.ts",
"prepublishOnly": "npm test && npm run lint && npm run build",
"cjs": "esbuild src/index.ts --outfile=dist/index.cjs.js --format=cjs --bundle --target=es2016 --sourcemap --external:@mathigon/core --external:@mathigon/fermat --external:@mathigon/euclid",
"esm": "esbuild src/index.ts --outfile=dist/index.esm.js --format=esm --bundle --target=es2016 --sourcemap --external:@mathigon/core --external:@mathigon/fermat --external:@mathigon/euclid",
"types": "tsc --project tsconfig-types.json",
"build": "npm run cjs && npm run esm && node build.js && npm run types",
"lint": "eslint . --ext .ts"
},
"dependencies": {
"@mathigon/core": "1.1.22",
"@mathigon/euclid": "1.2.3",
"@mathigon/fermat": "1.1.23"
},
"devDependencies": {
"@types/tape": "5.6.4",
"@typescript-eslint/eslint-plugin": "8.14.0",
"@typescript-eslint/parser": "8.14.0",
"esbuild": "0.24.0",
"eslint": "8.57.1",
"eslint-plugin-import": "2.31.0",
"tape": "5.9.0",
"ts-node": "10.9.2",
"tslib": "2.8.1",
"typescript": "5.6.3"
}
}