permutation-sjt
Version:
A quite fast non-recursive permutation algorithm, Steinhaus–Johnson–Trotter algorithm (Even's speedup)
64 lines (63 loc) • 1.47 kB
JSON
{
"name": "permutation-sjt",
"version": "1.0.2",
"description": "A quite fast non-recursive permutation algorithm, Steinhaus–Johnson–Trotter algorithm (Even's speedup)",
"main": "dist/index.js",
"types": "dist/index.d.js",
"scripts": {
"test": "jest",
"prepublishOnly": "eslint . --ext .ts",
"prepare": "npm run build",
"build": "tsc",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "eslint . --ext .ts"
},
"keywords": [
"permute",
"permutation",
"Even",
"algorithm",
"iterative",
"Steinhaus–Johnson–Trotter"
],
"repository": {
"type": "git",
"url": "https://github.com/dranidis/permutation-sjt.git"
},
"bugs": {
"url": "https://github.com/dranidis/permutation-sjt/issues"
},
"author": "D Dranidis",
"license": "MIT",
"devDependencies": {
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"coveralls": "^3.1.0",
"eslint": "^7.22.0",
"jest": "^26.6.3",
"prettier": "^2.2.1",
"ts-jest": "^26.5.3",
"typescript": "^4.2.3"
},
"publishConfig": {
"access": "public"
},
"files": [
"/dist"
],
"jest": {
"transform": {
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
}
}