spacerepetition
Version:
Spaced Repetition Library
60 lines (59 loc) • 2.28 kB
JSON
{
"name": "spacerepetition",
"version": "0.0.44",
"description": "Spaced Repetition Library",
"readme": "README.md",
"main": "dist/spacerepetition.cjs",
"module": "dist/spacerepetition.esm.js",
"exports": {
"import": "./dist/spacerepetition.esm.js",
"require": "./dist/cjs-entry.cjs"
},
"browser": "./dist/spacerepetition.min.js",
"types": "dist/spacerepetition.min.d.ts",
"type": "module",
"files": [
"dist"
],
"scripts": {
"dev": "tsx watch src/index.ts",
"lint": "eslint --config eslint.config.js --fix",
"generate-types": "tsc --emitDeclarationOnly --declaration --outDir dist",
"bundle-esm": "esbuild src/index.ts --bundle --format=esm --outfile=dist/spacerepetition.esm.js",
"copy-cjs-wrapper": "cp src/cjs-entry.cjs dist/cjs-entry.cjs",
"bundle-cjs": "esbuild src/index.ts --bundle --platform=node --format=cjs --outfile=dist/spacerepetition.cjs",
"bundle-iife": "esbuild src/index.ts --bundle --format=iife --global-name=SpaceRepetition --define:module=undefined --outfile=dist/spacerepetition.min.js",
"build": "npm run generate-types && npm run bundle-esm && npm run bundle-cjs && npm run bundle-iife && npm run copy-cjs-wrapper",
"evaluate": "npm run build && node tests/evaluateLearningAlgorithm.js",
"test-ui": "npm run bundle-iife && node ./tests/testCreateUIHTMLFile.js && open ./tests/testCreateUI.html"
},
"repository": {
"type": "git",
"url": "git+https://github.com/anderslatif/SpacedRepetition.git"
},
"keywords": [
"spaced",
"repetition",
"learning",
"learning",
"algorithm",
"library",
"education",
"educational"
],
"author": "Anders Latif",
"license": "MIT",
"bugs": {
"url": "https://github.com/anderslatif/SpacedRepetition/issues"
},
"homepage": "https://github.com/anderslatif/SpacedRepetition#readme",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"esbuild": "^0.24.0",
"eslint": "^9.16.0",
"ts-node-dev": "^2.0.0",
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
}