extwee
Version:
A story compiler tool using Twine-compatible formats
78 lines (77 loc) • 2.38 kB
JSON
{
"name": "extwee",
"version": "2.3.11",
"description": "A story compiler tool using Twine-compatible formats",
"author": "Dan Cox",
"main": "index.js",
"exports": {
".": "./index.js",
"./web": "./build/extwee.core.min.js",
"./web/core": "./build/extwee.core.min.js",
"./web/twine1html": "./build/extwee.twine1html.min.js",
"./web/twine2archive": "./build/extwee.twine2archive.min.js",
"./web/tws": "./build/extwee.tws.min.js"
},
"bin": {
"extwee": "src/extwee.js"
},
"scripts": {
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand",
"lint": "eslint ./src/**/*.js --fix",
"lint:test": "eslint ./test/**/*.test.js --fix",
"build:web": "webpack",
"analyze:web": "webpack-bundle-analyzer build/extwee.web.min.js",
"gen-types": "npx -p typescript tsc src/**/*.js --declaration --allowJs --emitDeclarationOnly --outDir types",
"copy:build": "cp build/*.js docs/build",
"all": "npm run lint && npm run lint:test && npm run test && npm run build:web && npm run gen-types && npm run copy:build"
},
"keywords": [
"twine",
"twee",
"parser",
"compiler"
],
"license": "MIT",
"dependencies": {
"commander": "^14.0.2",
"graphemer": "^1.4.0",
"html-entities": "^2.6.0",
"node-html-parser": "^7.0.1",
"pickleparser": "^0.2.1",
"semver": "^7.7.3",
"shelljs": "^0.10.0"
},
"devDependencies": {
"@babel/cli": "^7.28.3",
"@babel/core": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@eslint/js": "^9.39.1",
"@inquirer/prompts": "^8.0.1",
"@types/node": "^24.10.1",
"@types/semver": "^7.7.1",
"babel-loader": "^10.0.0",
"clean-jsdoc-theme": "^4.3.0",
"core-js": "^3.47.0",
"eslint": "^9.39.1",
"eslint-plugin-jest": "^29.1.0",
"eslint-plugin-jsdoc": "^61.3.0",
"globals": "^16.5.0",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"regenerator-runtime": "^0.14.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.47.0",
"webpack": "^5.103.0",
"webpack-bundle-analyzer": "^5.0.1",
"webpack-cli": "^6.0.1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/videlais/extwee.git"
},
"bugs": {
"url": "https://github.com/videlais/extwee/issues"
},
"type": "module",
"types": "./types/index.d.ts"
}