UNPKG

cld3-asm

Version:

WebAssembly based Javascript bindings for google compact language detector 3

98 lines (97 loc) 2.96 kB
{ "name": "cld3-asm", "version": "4.0.0", "description": "WebAssembly based Javascript bindings for google compact language detector 3", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", "browser": { "./dist/cjs/lib/node/cld3.js": "./dist/cjs/lib/browser/cld3.js", "./dist/esm/lib/node/cld3.js": "./dist/esm/lib/browser/cld3.js" }, "engines": { "node": ">=10" }, "config": { "commitizen": { "path": "cz-conventional-changelog" }, "cld3-version": "4d0870c-231231" }, "lint-staged": { "*.{ts,js}": [ "prettier --write --single-quote --print-width 120 --jsx-bracket-same-line true --ignore-path ./src/lib/*.js", "tslint --fix", "git add" ] }, "scripts": { "prepublishOnly": "npm-run-all build:clean build build:lib test", "prepare": "ts-node bootstrap.ts", "test:cld": "jest --config jest-cld.json", "test:cld-asm": "jest --config jest-cld-asm.json --coverage", "test": "npm-run-all test:*", "lint": "tslint -c tslint.json -p tsconfig.json \"src/**/*.ts\" \"spec/**/*.ts\"", "lint:staged": "lint-staged", "build": "tsc -b --verbose ./src/tsconfig.cjs.json ./src/tsconfig.esm.json ./src/tsconfig.types.json ./spec/tsconfig.json", "build:clean": "shx rm -rf ./dist", "build:lib": "shx cp -r ./src/lib ./dist/cjs && shx cp -r ./src/lib ./dist/esm", "commit": "git-cz -S", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s" }, "repository": { "type": "git", "url": "git+https://github.com/kwonoj/cld3-asm.git" }, "keywords": [ "WebAssembly", "Wasm", "cld", "Language" ], "author": "OJ Kwon <kwon.ohjoong@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/kwonoj/cld3-asm/issues" }, "homepage": "https://github.com/kwonoj/cld3-asm#readme", "devDependencies": { "@commitlint/cli": "^8.1.0", "@commitlint/config-angular": "^8.1.0", "@types/chai": "^4.1.7", "@types/jest": "^24.0.15", "@types/lodash": "^4.14.136", "@types/node": "^12.6.8", "@types/shelljs": "^0.8.5", "@types/utf8": "^2.1.6", "chai": "^4.2.0", "commitizen": "^4.0.2", "conventional-changelog-cli": "^2.0.21", "cz-conventional-changelog": "2.1.0", "husky": "^3.0.1", "jest": "^24.8.0", "jest-spin-reporter": "^1.0.2", "lint-staged": "^9.2.0", "lodash": "^4.17.15", "npm-run-all": "^4.1.5", "prettier": "^1.18.2", "shelljs": "^0.8.3", "shx": "^0.3.2", "ts-jest": "^24.0.2", "ts-node": "^8.3.0", "tslint": "^5.18.0", "tslint-no-unused-expression-chai": "^0.1.4", "typescript": "^3.5.3", "utf8": "^3.0.0" }, "dependencies": { "emscripten-wasm-loader": "^3.0.3" }, "husky": { "hooks": { "commit-msg": "commitlint -e", "pre-commit": "lint-staged", "pre-push": "npm run prepublishOnly" } } }