-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.89 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
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "llcacodec",
"description": "Read and Write Life-Like Cellular Automata Files",
"homepage": "https://www.github.com/cobyj33/llcacodec",
"bugs": {
"url": "https://www.github.com/cobyj33/llcacodec/issues",
"email": "[email protected]"
},
"license": "MIT",
"version": "0.1.5",
"author": {
"name": "Jacoby Johnson",
"email": "[email protected]",
"url": "https://www.github.com/cobyj33"
},
"repository": {
"type": "git",
"url": "https://github.com/cobyj33/llcacodec.git"
},
"keywords": [
"automata",
"conway",
"cellular-automata",
"life-like",
"game-of-life",
"life",
"life-like-cellular-automata",
"codec"
],
"files": [
"./dist/api.js",
"./dist/core/",
"./dist/formats/",
"./dist/types/",
"./DOCUMENTATION.md",
"./PATTERNS.md"
],
"exports": {
".": {
"default": "./dist/api.js",
"types": "./dist/types/api.d.ts"
},
"./rule": {
"default": "./dist/formats/rule/index.js",
"types": "./dist/types/formats/rule/index.d.ts"
},
"./file": {
"default": "./dist/formats/file/index.js",
"types": "./dist/types/formats/file/index.d.ts"
}
},
"typesVersions": {
"*": {
"*": ["./dist/types/api.d.ts"],
"rule": [
"./dist/types/formats/rule/index.d.ts"
],
"file": [
"./dist/types/formats/file/index.d.ts"
]
}
},
"main": "./dist/api.js",
"types": "./dist/types/api.d.ts",
"devDependencies": {
"@babel/core": "^7.21.0",
"@babel/plugin-transform-modules-commonjs": "^7.21.2",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@types/jest": "^29.4.0",
"babel-jest": "^29.4.3",
"esbuild": "^0.17.16",
"jest": "^29.4.3",
"jest-expect-message": "^1.1.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"scripts": {
"test": "jest --testPathIgnorePatterns=tests/brute",
"testFull": "jest",
"clearJestCache": "jest --clearCache",
"build": "npx tsc && npm run build:script && npm run build:cjs && npm run build:mjs",
"build:script": "esbuild src/api.ts --format=iife --global-name=llcacodec --minify --sourcemap --bundle --loader:.ts=ts --target=es6 --outfile=dist/llcacodec.bundle.min.js",
"build:cjs": "esbuild src/api.ts --format=cjs --platform=node --minify --sourcemap --bundle --loader:.ts=ts --target=es6 --outfile=dist/llcacodec.min.cjs",
"build:mjs": "esbuild src/api.ts --format=esm --platform=node --minify --sourcemap --bundle --loader:.ts=ts --target=es6 --outfile=dist/llcacodec.min.mjs"
}
}