2020-02-05 21:09:27 +00:00
|
|
|
{
|
2022-03-21 23:40:14 +00:00
|
|
|
"name": "@quri/squiggle-lang",
|
2022-10-02 11:30:17 +00:00
|
|
|
"version": "0.5.0",
|
2022-03-23 17:55:31 +00:00
|
|
|
"homepage": "https://squiggle-language.com",
|
2022-04-28 21:25:47 +00:00
|
|
|
"license": "MIT",
|
2020-02-05 21:09:27 +00:00
|
|
|
"scripts": {
|
2022-05-23 11:05:42 +00:00
|
|
|
"peggy": "peggy --cache",
|
2022-06-16 12:08:59 +00:00
|
|
|
"rescript": "rescript",
|
2022-05-23 11:05:42 +00:00
|
|
|
"build": "yarn build:peggy && yarn build:rescript && yarn build:typescript",
|
2022-06-26 08:14:51 +00:00
|
|
|
"build:peggy:helpers": "tsc --module commonjs --outDir src/rescript/Reducer/Reducer_Peggy/ src/rescript/Reducer/Reducer_Peggy/helpers.ts",
|
|
|
|
"build:peggy": "yarn build:peggy:helpers && find . -type f -name *.peggy -exec yarn peggy {} \\;",
|
2022-05-02 14:53:16 +00:00
|
|
|
"build:rescript": "rescript build -with-deps",
|
|
|
|
"build:typescript": "tsc",
|
2022-03-24 23:27:17 +00:00
|
|
|
"bundle": "webpack",
|
2022-02-18 03:25:35 +00:00
|
|
|
"start": "rescript build -w -with-deps",
|
2022-05-10 20:13:49 +00:00
|
|
|
"clean": "rescript clean && rm -rf dist",
|
2022-04-22 14:32:29 +00:00
|
|
|
"test:reducer": "jest __tests__/Reducer*/",
|
2022-04-26 18:30:03 +00:00
|
|
|
"benchmark": "ts-node benchmark/conversion_tests.ts",
|
2020-02-18 15:50:36 +00:00
|
|
|
"test": "jest",
|
2022-04-20 02:58:09 +00:00
|
|
|
"test:ts": "jest __tests__/TS/",
|
2022-08-22 04:45:05 +00:00
|
|
|
"test:stdlib": "jest __tests__/Stdlib_test.bs.js",
|
2022-04-20 02:58:09 +00:00
|
|
|
"test:rescript": "jest --modulePathIgnorePatterns=__tests__/TS/*",
|
2022-03-23 22:34:50 +00:00
|
|
|
"test:watch": "jest --watchAll",
|
2022-07-21 18:29:59 +00:00
|
|
|
"test:fnRegistry": "jest __tests__/SquiggleLibrary/SquiggleLibrary_FunctionRegistryLibrary_test.bs.js",
|
2022-10-08 13:28:43 +00:00
|
|
|
"coverage:rescript:local": "rm -f *.coverage && yarn clean && BISECT_ENABLE=yes yarn build && yarn test:rescript && bisect-ppx-report html",
|
|
|
|
"coverage:ts:local": "yarn clean && yarn build && nyc --reporter=lcov yarn test:ts",
|
|
|
|
"coverage:rescript": "yarn clean && BISECT_ENABLE=yes yarn build:rescript && yarn test:rescript && bisect-ppx-report send-to Codecov",
|
2022-10-08 15:13:44 +00:00
|
|
|
"coverage:ts": "yarn coverage:ts:local && codecov",
|
2022-10-08 15:24:12 +00:00
|
|
|
"coverage": "yarn coverage:ts && yarn coverage:rescript",
|
2022-10-08 13:28:43 +00:00
|
|
|
"coverage:local": "yarn coverage:rescript:local && yarn coverage:ts:local",
|
2022-04-11 23:15:09 +00:00
|
|
|
"lint:rescript": "./lint.sh",
|
|
|
|
"lint:prettier": "prettier --check .",
|
2022-04-12 06:45:14 +00:00
|
|
|
"lint": "yarn lint:rescript && yarn lint:prettier",
|
2022-04-20 02:58:09 +00:00
|
|
|
"format:rescript": "rescript format -all",
|
|
|
|
"format:prettier": "prettier --write .",
|
|
|
|
"format": "yarn format:rescript && yarn format:prettier",
|
2022-04-30 15:33:03 +00:00
|
|
|
"prepack": "yarn build && yarn test && yarn bundle",
|
2022-07-19 13:28:06 +00:00
|
|
|
"all:rescript": "yarn build:rescript && yarn test:rescript && yarn format:rescript",
|
2022-03-23 22:34:50 +00:00
|
|
|
"all": "yarn build && yarn bundle && yarn test"
|
2020-02-05 21:09:27 +00:00
|
|
|
},
|
|
|
|
"keywords": [
|
2022-01-30 00:20:53 +00:00
|
|
|
"Rescript"
|
2020-02-05 21:09:27 +00:00
|
|
|
],
|
2022-01-29 23:56:44 +00:00
|
|
|
"author": "Quantified Uncertainty Research Institute",
|
2022-04-28 19:20:58 +00:00
|
|
|
"dependencies": {
|
2022-06-21 22:47:33 +00:00
|
|
|
"@rescript/std": "^9.1.4",
|
2022-05-15 22:27:25 +00:00
|
|
|
"@stdlib/stats": "^0.0.13",
|
2022-04-28 19:20:58 +00:00
|
|
|
"jstat": "^1.9.5",
|
2022-06-15 03:45:40 +00:00
|
|
|
"lodash": "^4.17.21",
|
2022-09-19 14:57:13 +00:00
|
|
|
"mathjs": "^11.2.1",
|
2022-06-21 22:47:33 +00:00
|
|
|
"pdfast": "^0.2.0"
|
2022-04-28 19:20:58 +00:00
|
|
|
},
|
2022-04-25 16:27:34 +00:00
|
|
|
"devDependencies": {
|
2022-08-29 14:35:37 +00:00
|
|
|
"@glennsl/rescript-jest": "^0.9.2",
|
2022-04-22 14:32:29 +00:00
|
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
2022-05-04 14:41:05 +00:00
|
|
|
"@types/jest": "^27.5.0",
|
2022-03-21 23:40:14 +00:00
|
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
|
2022-05-15 22:27:25 +00:00
|
|
|
"bisect_ppx": "^2.7.1",
|
2022-04-28 14:36:16 +00:00
|
|
|
"chalk": "^5.0.1",
|
2022-04-30 16:52:13 +00:00
|
|
|
"codecov": "^3.8.3",
|
2022-09-26 18:12:34 +00:00
|
|
|
"fast-check": "^3.1.4",
|
2022-07-18 16:28:39 +00:00
|
|
|
"gentype": "^4.5.0",
|
2022-02-18 02:16:31 +00:00
|
|
|
"jest": "^27.5.1",
|
2022-04-30 16:52:13 +00:00
|
|
|
"moduleserve": "^0.9.1",
|
2022-04-22 14:32:29 +00:00
|
|
|
"nyc": "^15.1.0",
|
2022-06-06 15:23:02 +00:00
|
|
|
"peggy": "^2.0.1",
|
2022-06-23 03:59:39 +00:00
|
|
|
"prettier": "^2.7.1",
|
2022-06-13 15:39:41 +00:00
|
|
|
"reanalyze": "^2.23.0",
|
2022-06-21 22:47:33 +00:00
|
|
|
"rescript": "^9.1.4",
|
2022-05-15 22:27:25 +00:00
|
|
|
"rescript-fast-check": "^1.1.1",
|
2022-09-15 11:17:19 +00:00
|
|
|
"rescript-js-map": "^1.1.0",
|
2022-03-25 14:41:27 +00:00
|
|
|
"ts-jest": "^27.1.4",
|
2022-09-30 15:28:46 +00:00
|
|
|
"ts-loader": "^9.4.1",
|
2022-07-18 15:51:07 +00:00
|
|
|
"ts-node": "^10.9.1",
|
2022-10-03 14:38:15 +00:00
|
|
|
"typescript": "^4.8.4",
|
2022-07-25 14:25:33 +00:00
|
|
|
"webpack": "^5.74.0",
|
2022-06-13 15:39:41 +00:00
|
|
|
"webpack-cli": "^4.10.0"
|
2022-02-25 23:03:05 +00:00
|
|
|
},
|
2022-03-21 23:40:14 +00:00
|
|
|
"source": "./src/js/index.ts",
|
2022-04-28 19:20:58 +00:00
|
|
|
"main": "./dist/src/js/index.js",
|
2022-04-28 21:28:37 +00:00
|
|
|
"types": "./dist/src/js/index.d.ts"
|
2020-03-23 21:31:06 +00:00
|
|
|
}
|