squiggle/packages/squiggle-lang/package.json

71 lines
2.4 KiB
JSON
Raw Normal View History

2020-02-05 21:09:27 +00:00
{
2022-03-21 23:40:14 +00:00
"name": "@quri/squiggle-lang",
2022-04-30 15:33:03 +00:00
"version": "0.2.8",
2022-03-23 17:55:31 +00:00
"homepage": "https://squiggle-language.com",
"license": "MIT",
2020-02-05 21:09:27 +00:00
"scripts": {
parser toFunction additive multiplicative compact whitespace pow relational equality boolean whitespace separator left associative operators expression not identifier function call array constructor string indexed values ident priority block outerBlock optional final expression statement separator outerBlock innerBlock better errors note xor white space and record unary minus inner/outer block statement lambda sort lambda is a value constructor lambdaCall ternary ternary basicValue cleanup quotes chained Functions dot operators unify unary operators unify unary operatos notes notes notes notes parser priorities set white space or newline defined allow newlines notes function call has become a post operator recordElement recursive index postOperatorToFunction better integer comments notes record priority comment atom finalComment generated parser type cast format initiate test file test initiated; todo nodeCall; nodeExpression callIdentifier recover extra initiate testing initial tests pass tests pass remove function node ternary test parse passed to tests pass notes sort toExpression format notes remove unused modules remove unnecessary nodeLambdaCall notes note fix construct array comment test todo elixir pipe fix toString notes initial to expression test value test parsing records records comments ternary ifthenelse inner block passed inner block lambda lambda new parser tested now test tricks ternary in expression to test lambda as argument to test lambda in structures Use peggy Parser expectEvalError macros tested remove mathjs parse reducer test comparison operator
2022-05-05 19:45:25 +00:00
"peggy": "peggy --cache ",
2022-05-02 14:53:16 +00:00
"build": "yarn build:rescript && yarn build:typescript",
"build:rescript": "rescript build -with-deps",
"build:typescript": "tsc",
"bundle": "webpack",
2022-02-18 03:25:35 +00:00
"start": "rescript build -w -with-deps",
"clean": "rescript clean && rm -r 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",
"test:ts": "jest __tests__/TS/",
"test:rescript": "jest --modulePathIgnorePatterns=__tests__/TS/*",
"test:watch": "jest --watchAll",
"coverage:rescript": "rm -f *.coverage; yarn clean; BISECT_ENABLE=yes yarn build; yarn test:rescript; bisect-ppx-report html",
"coverage:ts": "yarn clean; yarn build; nyc --reporter=lcov yarn test:ts",
2022-04-20 03:42:24 +00:00
"coverage:rescript:ci": "yarn clean; BISECT_ENABLE=yes yarn build; yarn test:rescript; bisect-ppx-report send-to Codecov",
"coverage:ts:ci": "yarn coverage:ts && codecov",
"lint:rescript": "./lint.sh",
"lint:prettier": "prettier --check .",
"lint": "yarn lint:rescript && yarn lint:prettier",
"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",
"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",
2020-02-05 21:09:27 +00:00
"license": "MIT",
"dependencies": {
"rescript": "^9.1.4",
"jstat": "^1.9.5",
"pdfast": "^0.2.0",
2022-04-30 15:33:03 +00:00
"mathjs": "^10.5.0"
},
"devDependencies": {
2022-04-14 00:41:22 +00:00
"bisect_ppx": "^2.7.1",
"lodash": "^4.17.21",
"rescript-fast-check": "^1.1.1",
2022-02-06 23:54:19 +00:00
"@glennsl/rescript-jest": "^0.9.0",
2022-04-22 14:32:29 +00:00
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@types/jest": "^27.5.0",
2022-03-21 23:40:14 +00:00
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"chalk": "^5.0.1",
"codecov": "^3.8.3",
"fast-check": "^2.25.0",
2022-01-29 22:43:08 +00:00
"gentype": "^4.3.0",
2022-02-18 02:16:31 +00:00
"jest": "^27.5.1",
"moduleserve": "^0.9.1",
2022-04-22 14:32:29 +00:00
"nyc": "^15.1.0",
2022-04-26 18:26:02 +00:00
"reanalyze": "^2.19.0",
"ts-jest": "^27.1.4",
"ts-loader": "^9.3.0",
2022-04-26 18:26:02 +00:00
"ts-node": "^10.7.0",
"typescript": "^4.6.3",
"webpack": "^5.72.0",
2022-04-22 14:32:29 +00:00
"webpack-cli": "^4.9.2"
},
2022-03-21 23:40:14 +00:00
"source": "./src/js/index.ts",
"main": "./dist/src/js/index.js",
"types": "./dist/src/js/index.d.ts"
}