-
Notifications
You must be signed in to change notification settings - Fork 862
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e3de16
commit 95f8e3b
Showing
3 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,14 +79,15 @@ | |
}, | ||
"scripts": { | ||
"benchmark": "node benchmarks", | ||
"build": "tsc && ncp spec/test_data dist", | ||
"build": "npm run build:tests & npm run build:esm", | ||
"build:esm": "rollup -c", | ||
"build:tests": "tsc", | ||
"clean": "rimraf *~ #* *classifier.json dist io_spec/tmp/*.json coverage", | ||
"test_io": "jasmine --random=false io_spec/*_spec.js", | ||
"test": "cross-env NODE_PATH=.:./dist jasmine --random=false dist/spec/*_spec.js", | ||
"test": "cross-env NODE_PATH=. jasmine --random=false dist/cjs/spec/*_spec.js", | ||
"coverage": "nyc --no-clean npm run test && nyc --no-clean npm run test_io", | ||
"test_browser": "cross-env NODE_PATH=. node ./node_modules/gulp/bin/gulp.js", | ||
"lint": "eslint . --ext .ts", | ||
"build_esm": "rollup -c" | ||
"lint": "eslint . --ext .ts" | ||
}, | ||
"license": "MIT", | ||
"author": "Chris Umbel <[email protected]>", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
import natural from '../../dist/esm/index.js' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters