79 lines
3.1 KiB
JSON
79 lines
3.1 KiB
JSON
{
|
|
"name": "@quri/squiggle-lang",
|
|
"version": "0.2.11",
|
|
"homepage": "https://squiggle-language.com",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"peggy": "peggy --cache",
|
|
"rescript": "rescript",
|
|
"build": "yarn build:peggy && yarn build:rescript && yarn build:typescript",
|
|
"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 {} \\;",
|
|
"build:rescript": "rescript build -with-deps",
|
|
"build:typescript": "tsc",
|
|
"bundle": "webpack",
|
|
"start": "rescript build -w -with-deps",
|
|
"clean": "rescript clean && rm -rf dist",
|
|
"test:reducer": "jest __tests__/Reducer*/",
|
|
"benchmark": "ts-node benchmark/conversion_tests.ts",
|
|
"test": "jest",
|
|
"test:ts": "jest __tests__/TS/",
|
|
"test:rescript": "jest --modulePathIgnorePatterns=__tests__/TS/*",
|
|
"test:watch": "jest --watchAll",
|
|
"test:fnRegistry": "jest __tests__/SquiggleLibrary/SquiggleLibrary_FunctionRegistryLibrary_test.bs.js",
|
|
"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",
|
|
"prepack": "yarn build && yarn test && yarn bundle",
|
|
"all:rescript": "yarn build:rescript && yarn test:rescript && yarn format:rescript",
|
|
"all": "yarn build && yarn bundle && yarn test"
|
|
},
|
|
"keywords": [
|
|
"Rescript"
|
|
],
|
|
"author": "Quantified Uncertainty Research Institute",
|
|
"dependencies": {
|
|
"@rescript/std": "^10.0.0-rc.1",
|
|
"@stdlib/stats": "^0.0.13",
|
|
"jstat": "^1.9.5",
|
|
"lodash": "^4.17.21",
|
|
"mathjs": "^11.0.1",
|
|
"pdfast": "^0.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@glennsl/rescript-jest": "^0.9.0",
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
"@types/jest": "^27.5.0",
|
|
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
|
|
"bisect_ppx": "^2.7.1",
|
|
"chalk": "^5.0.1",
|
|
"codecov": "^3.8.3",
|
|
"fast-check": "^3.1.1",
|
|
"gentype": "^4.5.0",
|
|
"jest": "^27.5.1",
|
|
"moduleserve": "^0.9.1",
|
|
"nyc": "^15.1.0",
|
|
"peggy": "^2.0.1",
|
|
"prettier": "^2.7.1",
|
|
"reanalyze": "^2.23.0",
|
|
"rescript": "^10.0.0-rc.1",
|
|
"rescript-fast-check": "^1.1.1",
|
|
"ts-jest": "^27.1.4",
|
|
"ts-loader": "^9.3.0",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.7.4",
|
|
"webpack": "^5.74.0",
|
|
"webpack-cli": "^4.10.0"
|
|
},
|
|
"source": "./src/js/index.ts",
|
|
"main": "./dist/src/js/index.js",
|
|
"types": "./dist/src/js/index.d.ts"
|
|
}
|