-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
100 lines (100 loc) · 7.54 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
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "@declann/calculang-miscellaneous-models",
"version": "0.1.0-alpha.1",
"license": "AGPL-3.0-only",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/declann/calculang-miscellaneous-models.git",
"directory": "packages/calculang-models"
},
"scripts": {
"build:sp-padrao": "cul-js compile --memo ./models/sp-art/sp-padrao.cul.js && cp ./models/sp-art/sp-padrao.cul.js ./models/sp-art/sp-padrao-nomemo.cul.js && cul-js compile ./models/sp-art/sp-padrao-nomemo.cul.js",
"build:copacabana": "cul-js compile --memo ./models/rio-art/copacabana.cul.js && cp ./models/rio-art/copacabana.cul.js ./models/rio-art/copacabana-nomemo.cul.js && cul-js compile ./models/rio-art/copacabana-nomemo.cul.js",
"build:simple-loan": "cul-js compile --memo ./models/loan-validator/simple-loan.cul.js",
"build:pension-rec-nomemo": "cp ./models/pensions/rec.cul.js ./models/pensions/rec-nomemo.cul.js && cul-js compile ./models/pensions/rec-nomemo.cul.js",
"build:pension-rec-exec": "node ./models/pensions/rec-exec-generator.js > ./models/pensions/rec-exec.cul.js && cul-js compile ./models/pensions/rec-exec.cul.js && cp ./models/pensions/rec-exec.cul.js ./models/pensions/rec-exec-nomemo.cul.js && cul-js compile ./models/pensions/rec-exec-nomemo.cul.js",
"build:pension-rec": "cul-js compile ./models/pensions/rec.cul.js",
"build:fibinacci": "cul-js compile --memo ./models/fibinacci/fibinacci.cul.js",
"build:climate-simple": "cul-js compile --memo ./models/climate-simple/climate-simple.cul.js && cp ./models/climate-simple/climate-simple.cul.js ./models/climate-simple/climate-simple-nomemo.cul.js && cul-js compile ./models/climate-simple/climate-simple-nomemo.cul.js",
"build:from-brain-mnist": "cul-js compile ./models/neural-net/from-brain-mnist.cul.js",
"use:from-brain-mnist": "node models/neural-net/use-from-brain-mnist.js",
"build:from-brain-xor": "cul-js compile ./models/neural-net/from-brain-xor.cul.js",
"use:from-brain-xor": "node models/neural-net/use-from-brain-xor.js",
"fondue_callsites:bounce-nomemo": "cd ./models/bounce/bounce-nomemo_esm && node ../../saas-ea/expected_esm/fondue-callsites-map.mjs > fondue-callsites-map.json",
"build:bounce-nomemo": "cul-js compile ./models/bounce/bounce-nomemo.cul.js",
"babel:bounce-nomemo": "babel --retain-lines --source-maps --presets=@babel/preset-env ./models/bounce/bounce-nomemo_esm/cul_scope_0.mjs --out-file ./models/bounce/bounce-nomemo_esm/cul_scope_0-babeled.js",
"webpack:bounce-nomemo": "cd ./models/bounce/bounce-nomemo_esm && webpack",
"build:bounce": "cul-js compile --memo ./models/bounce/bounce.cul.js",
"babel:pension-calculator-nomemo": "babel --retain-lines --source-maps --presets=@babel/preset-env ./models/pensions/pension-calculator-nomemo_esm/cul_scope_0.mjs --out-file ./models/pensions/pension-calculator-nomemo_esm/cul_scope_0-babeled.js",
"webpack:pension-calculator-nomemo": "cd ./models/pensions/pension-calculator-nomemo_esm && webpack",
"build:pension-calculator": "cul-js compile ./models/pensions/pension-calculator.cul.js && cp ./models/pensions/pension-calculator.cul.js ./models/pensions/pension-calculator-nomemo.cul.js && cul-js compile ./models/pensions/pension-calculator-nomemo.cul.js",
"build:monte-carlo-pi": "cul-js compile --memo ./models/pi/monte-carlo-pi.cul.js",
"build:nilakantha-series-bignumber": "cul-js compile ./models/pi/nilakantha-series-bignumber.cul.js",
"build:nilakantha-series": "cul-js compile ./models/pi/nilakantha-series.cul.js",
"build:pi-odd-numbers-series": "cul-js compile ./models/pi/odd-numbers-series.cul.js",
"build:heart-rotation": "cul-js compile ./models/hearts/rotation.cul.js",
"data:heart-rotation": "node ./models/hearts/rotation-data.mjs > ./models/hearts/rotation-data.json",
"build:heart-beating": "cul-js compile ./models/hearts/beating.cul.js",
"data:heart-beating": "node ./models/hearts/beating-data.mjs > ./models/hearts/beating-data.json",
"build:margins": "cul-js compile --memo ./models/margin-constraints/margins.cul.js",
"build:triple": "cul-js compile --memo ./models/exponential-growth/triple.cul.js",
"use:triple": "node ./models/exponential-growth/use-triple.js",
"build:suncalc-seek-sunsets": "cul-js compile --memo ./models/heavens/suncalc-seek-sunsets.cul.js",
"build:suncalc": "cul-js compile ./models/heavens/suncalc.cul.js",
"build:payroll": "cul-js compile ./models/payroll-playground/payroll.cul.js",
"webpack:saas-expected-fondued": "cd ./models/saas-ea/expected_esm && webpack",
"babel:saas-expected": "babel --retain-lines --source-maps --presets=@babel/preset-env ./models/saas-ea/expected_esm/cul_scope_0.mjs --out-file ./models/saas-ea/expected_esm/cul_scope_0-babeled.js",
"build:saas-ea": "cul-js compile ./models/saas-ea/rec.cul.js",
"build:saas-expected": "cul-js compile ./models/saas-ea/expected.cul.js",
"build:cashflows": "cul-js compile --memo ./models/cashflows/simple-cfs.cul.js",
"build:cashflows-nomemo": "cp ./models/cashflows/simple-cfs.cul.js ./models/cashflows/simple-cfs-nomemo.cul.js && cul-js compile ./models/cashflows/simple-cfs-nomemo.cul.js",
"use:fern": "node ./models/fern/use-fern.js",
"write:fern": "node ./models/fern/use-fern.js > ./models/fern/fern.out.txt",
"build:fern": "cul-js compile --memo ./models/fern/fern.cul.js && cp ./models/fern/fern.cul.js ./models/fern/fern-nomemo.cul.js && cul-js compile ./models/fern/fern-nomemo.cul.js",
"build:donut": "cul-js compile --memo ./models/donut/donut.cul.js && cp ./models/donut/donut.cul.js ./models/donut/donut-nomemo.cul.js && cul-js compile ./models/donut/donut-nomemo.cul.js",
"build:lorenz-attractor": "cul-js compile --memo ./models/lorenz-attractor/lorenz-attractor.cul.js",
"build:tax-revenues": "cul-js compile ./models/tax-revenues/tax-revenues.cul.js",
"build:incometax-set": "cul-js compile ./models/tax-revenues/incometax-set.cul.js",
"build:incometax-impact": "cul-js compile ./models/tax-revenues/impact.cul.js && cp ./models/tax-revenues/impact.cul.js ./models/tax-revenues/impact-nomemo.cul.js && cul-js compile ./models/tax-revenues/impact-nomemo.cul.js",
"build:simple-incometax": "cul-js compile ./models/tax-revenues/simple-incometax.cul.js && cp ./models/tax-revenues/simple-incometax.cul.js ./models/tax-revenues/simple-incometax-nomemo.cul.js && cul-js compile ./models/tax-revenues/simple-incometax-nomemo.cul.js",
"build:impact-simple": "cul-js compile ./models/tax-revenues/impact-simple.cul.js",
"use:incometax-set": "node ./models/tax-revenues/use-incometax-set-esm.mjs",
"use:impact": "node ./models/tax-revenues/use-impact.js > ./models/tax-revenues/use-impact-out.txt",
"use:tax-revenues": "node ./models/tax-revenues/use-tax-revenues-esm.mjs"
},
"homepage": "https://github.com/declann/calculang-miscellaneous-models/tree/main",
"author": "Declan Naughton",
"keywords": [
"calculang",
"calculations",
"numbers",
"math",
"mathematics",
"models",
"modeling",
"modelling",
"functional",
"functional programming",
"fp"
],
"dependencies": {
"bignumber.js": "^9.1.1",
"date-fns": "^2.25.0",
"esm-seedrandom": "^3.0.5",
"lru-memoize": "^1.1.0",
"raw-loader": "^4.0.2",
"underscore": "^1.13.1"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@calculang/calculang-js": "^0.1.0-alpha.6",
"eslint": "^8.23.1",
"lru-memoize": "^1.1.0",
"source-map": "^0.6.1",
"underscore": "^1.13.2",
"webpack-cli": "^5.0.1"
}
}