squiggle/packages/squiggle-lang/package.json

73 lines
2.6 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-05-13 17:40:59 +00:00
"version": "0.2.9",
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-19 17:16:25 +00:00
"build:peggy": "find . -type f -name *.peggy -exec yarn run peggy {} \\;",
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 -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",
"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",
"coverage:rescript:ci": "yarn clean && BISECT_ENABLE=yes yarn build:rescript && 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",
"dependencies": {
2022-05-15 22:27:25 +00:00
"@stdlib/stats": "^0.0.13",
"jstat": "^1.9.5",
2022-05-15 22:27:25 +00:00
"mathjs": "^10.5.2",
"pdfast": "^0.2.0",
2022-05-15 22:27:25 +00:00
"rescript": "^9.1.4"
},
"devDependencies": {
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",
2022-05-15 22:27:25 +00:00
"bisect_ppx": "^2.7.1",
"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",
2022-05-15 22:27:25 +00:00
"lodash": "^4.17.21",
"moduleserve": "^0.9.1",
2022-04-22 14:32:29 +00:00
"nyc": "^15.1.0",
2022-05-19 17:56:00 +00:00
"peggy": "^1.2.0",
2022-04-26 18:26:02 +00:00
"reanalyze": "^2.19.0",
2022-05-15 22:27:25 +00:00
"rescript-fast-check": "^1.1.1",
"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.1",
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"
}