79 lines
2.8 KiB
JSON
79 lines
2.8 KiB
JSON
{
|
|
"name": "@quri/squiggle-lang",
|
|
"version": "0.5.1",
|
|
"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:stdlib": "jest __tests__/Stdlib_test.bs.js",
|
|
"test:rescript": "jest --modulePathIgnorePatterns=__tests__/TS/*",
|
|
"test:watch": "jest --watchAll",
|
|
"test:fnRegistry": "jest __tests__/SquiggleLibrary/SquiggleLibrary_FunctionRegistryLibrary_test.bs.js",
|
|
"coverage:local": "jest --coverage && echo && echo 'Open ./coverage/lcov-report/index.html to see the detailed report.'",
|
|
"coverage": "jest --coverage && 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": {
|
|
"@commander-js/extra-typings": "^9.4.1",
|
|
"@rescript/std": "^10.0.0",
|
|
"@stdlib/stats": "^0.0.13",
|
|
"commander": "^9.4.1",
|
|
"jstat": "^1.9.5",
|
|
"lodash": "^4.17.21",
|
|
"open": "^8.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@glennsl/rescript-jest": "^0.9.2",
|
|
"@types/jest": "^29.2.2",
|
|
"chalk": "^5.1.2",
|
|
"codecov": "^3.8.3",
|
|
"fast-check": "^3.3.0",
|
|
"gentype": "^4.5.0",
|
|
"jest": "^29.3.1",
|
|
"moduleserve": "^0.9.1",
|
|
"peggy": "^2.0.1",
|
|
"prettier": "^2.7.1",
|
|
"reanalyze": "^2.23.0",
|
|
"rescript": "^10.0.0",
|
|
"rescript-fast-check": "^1.1.1",
|
|
"rescript-js-map": "^1.1.0",
|
|
"ts-jest": "^29.0.3",
|
|
"ts-loader": "^9.4.1",
|
|
"ts-node": "^10.9.1",
|
|
"typescript": "^4.8.4",
|
|
"webpack": "^5.75.0",
|
|
"webpack-cli": "^4.10.0"
|
|
},
|
|
"source": "./src/js/index.ts",
|
|
"main": "./dist/src/js/index.js",
|
|
"types": "./dist/src/js/index.d.ts",
|
|
"bin": {
|
|
"squiggle": "./dist/src/cli/index.js"
|
|
}
|
|
}
|