116 lines
3.1 KiB
JSON
116 lines
3.1 KiB
JSON
{
|
|
"name": "js-sdsl",
|
|
"version": "4.1.4",
|
|
"description": "javascript standard data structure library which benchmark against C++ STL",
|
|
"main": "./dist/cjs/index.js",
|
|
"module": "./dist/esm/index.js",
|
|
"author": {
|
|
"name": "ZLY201",
|
|
"email": "951711127@qq.com",
|
|
"url": "https://github.com/js-sdsl/js-sdsl"
|
|
},
|
|
"browserslist": [
|
|
"last 2 version",
|
|
"> 1%",
|
|
"not dead",
|
|
"maintained node versions"
|
|
],
|
|
"sideEffects": false,
|
|
"homepage": "https://js-sdsl.github.io",
|
|
"scripts": {
|
|
"setup": "rm -rf node_modules && yarn install",
|
|
"dev": "ttsc --project tsconfig.cjs.json --watch",
|
|
"build": "yarn build:esm && yarn build:cjs && yarn build:umd:min",
|
|
"build:cjs": "rm -rf dist/cjs && ttsc --project tsconfig.cjs.json",
|
|
"build:esm": "rm -rf dist/esm && ttsc --project tsconfig.esm.json",
|
|
"build:umd": "rm -rf dist/umd && rollup -c",
|
|
"build:umd:min": "yarn build:umd && uglifyjs --compress --mangle --source-map --comments -o dist/umd/js-sdsl.min.js -- dist/umd/js-sdsl.js",
|
|
"test": "yarn test:unit && yarn test:performance",
|
|
"test:unit": "jest --coverage",
|
|
"test:performance": "rm -rf dist/performance && ttsc --project tsconfig.performance.json && node dist/performance/performance/index.js",
|
|
"lint": "eslint --fix --color --cache --max-warnings=0 .",
|
|
"generate": "typedoc src/index.ts",
|
|
"generate:dev": "typedoc src/index.ts --watch",
|
|
"prepare": "husky install"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts}": [
|
|
"yarn lint"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^28.1.6",
|
|
"@types/node": "^17.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
|
"@typescript-eslint/parser": "^5.33.1",
|
|
"all-contributors-cli": "^6.20.0",
|
|
"browserslist": "^4.21.3",
|
|
"caniuse-lite": "^1.0.30001380",
|
|
"commitlint": "^17.0.3",
|
|
"conventional-changelog-conventionalcommits": "^5.0.0",
|
|
"coveralls": "^3.1.1",
|
|
"eslint": "^8.4.1",
|
|
"eslint-plugin-compat": "^4.0.2",
|
|
"gh-pages": "^3.2.3",
|
|
"husky": "^8.0.1",
|
|
"jest": "^28.1.3",
|
|
"lint-staged": "^12.1.0",
|
|
"rollup": "^2.78.1",
|
|
"rollup-plugin-typescript2": "^0.33.0",
|
|
"ts-jest": "^28.0.7",
|
|
"ts-node": "^10.9.1",
|
|
"ts-transform-paths": "^2.0.3",
|
|
"tsconfig-paths": "^4.0.0",
|
|
"tslib": "^2.4.0",
|
|
"ttypescript": "^1.5.13",
|
|
"typedoc": "^0.23.10",
|
|
"typedoc-plugin-missing-exports": "^1.0.0",
|
|
"typescript": "^4.7.4",
|
|
"uglify-js": "^3.14.5"
|
|
},
|
|
"repository": {
|
|
"type": "github",
|
|
"url": "https://github.com/js-sdsl/js-sdsl.git"
|
|
},
|
|
"license": "MIT",
|
|
"files": [
|
|
"dist/cjs",
|
|
"dist/esm",
|
|
"dist/umd",
|
|
"CHANGELOG.md"
|
|
],
|
|
"keywords": [
|
|
"data",
|
|
"structure",
|
|
"data structure",
|
|
"rbTree",
|
|
"rbtree",
|
|
"RBTree",
|
|
"red black tree",
|
|
"ordered",
|
|
"set",
|
|
"map",
|
|
"ordered map",
|
|
"ordered set",
|
|
"deque",
|
|
"heap",
|
|
"priority queue",
|
|
"link list",
|
|
"LinkList",
|
|
"linkedList",
|
|
"vector",
|
|
"stack",
|
|
"queue",
|
|
"hash",
|
|
"hash set",
|
|
"hash map",
|
|
"c++",
|
|
"stl"
|
|
],
|
|
"bugs": {
|
|
"email": "951711127@qq.com",
|
|
"url": "https://github.com/js-sdsl/js-sdsl/issues"
|
|
},
|
|
"dependencies": {}
|
|
}
|