From 44215f540f4e3512392859394d671275d36d712a Mon Sep 17 00:00:00 2001 From: Quinn Dougherty Date: Thu, 28 Apr 2022 15:20:58 -0400 Subject: [PATCH] v0.2.6: packaging fixed Value: [1e-1 to 8e-1] --- packages/squiggle-lang/.npmignore | 1 - packages/squiggle-lang/package.json | 16 +++++++++------- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/packages/squiggle-lang/.npmignore b/packages/squiggle-lang/.npmignore index bfbe051d..2d3f13c3 100644 --- a/packages/squiggle-lang/.npmignore +++ b/packages/squiggle-lang/.npmignore @@ -2,7 +2,6 @@ node_modules shell.nix .cache .direnv -src __tests__ lib examples diff --git a/packages/squiggle-lang/package.json b/packages/squiggle-lang/package.json index 75583bfc..a2a79a4f 100644 --- a/packages/squiggle-lang/package.json +++ b/packages/squiggle-lang/package.json @@ -1,10 +1,10 @@ { "name": "@quri/squiggle-lang", - "version": "0.2.5", + "version": "0.2.6", "homepage": "https://squiggle-language.com", "licence": "MIT", "scripts": { - "build": "rescript build -with-deps", + "build": "rescript build -with-deps && tsc", "bundle": "webpack", "start": "rescript build -w -with-deps", "clean": "rescript clean", @@ -31,11 +31,15 @@ ], "author": "Quantified Uncertainty Research Institute", "license": "MIT", + "dependencies": { + "rescript": "^9.1.4", + "jstat": "^1.9.5", + "pdfast": "^0.2.0", + "mathjs": "10.5.0" + }, "devDependencies": { "bisect_ppx": "^2.7.1", - "jstat": "^1.9.5", "lodash": "4.17.21", - "rescript": "^9.1.4", "rescript-fast-check": "^1.1.1", "@glennsl/rescript-jest": "^0.9.0", "@istanbuljs/nyc-config-typescript": "^1.0.2", @@ -46,10 +50,8 @@ "fast-check": "2.25.0", "gentype": "^4.3.0", "jest": "^27.5.1", - "mathjs": "10.5.0", "moduleserve": "0.9.1", "nyc": "^15.1.0", - "pdfast": "^0.2.0", "reanalyze": "^2.19.0", "ts-jest": "^27.1.4", "ts-loader": "^9.2.8", @@ -59,6 +61,6 @@ "webpack-cli": "^4.9.2" }, "source": "./src/js/index.ts", - "main": "./dist/bundle.js", + "main": "./dist/src/js/index.js", "types": "./dist/js/index.d.ts" }