Skip to content

Commit

Permalink
Merge pull request #19 from aneshodza/feature/change-to-commonjs
Browse files Browse the repository at this point in the history
Change to commonjs
  • Loading branch information
aneshodza authored Apr 21, 2024
2 parents 22bd6dd + 04f288b commit c58e9c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "A library that allows you to create a deterministic pushdown automaton",
"main": "out/index.js",
"types": "out/index.d.ts",
"type": "comonjs",
"scripts": {
"build": "tsc --outDir out/",
"test": "jest --coverage",
Expand All @@ -28,7 +29,6 @@
"url": "https://github.com/aneshodza/pushdown-automaton/issues"
},
"homepage": "https://github.com/aneshodza/pushdown-automaton#readme",
"type": "module",
"devDependencies": {
"@eslint/js": "^9.0.0",
"@types/jest": "^29.5.12",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"compilerOptions": {
/* Basic Options */
"target": "es6",
"module": "ESNext",
"lib": ["es6", "dom"],
"module": "CommonJS",
"lib": ["ES5", "DOM", "ES2015.Promise"],
"declaration": true,
"sourceMap": true,
"outDir": "./out",
Expand Down

0 comments on commit c58e9c1

Please sign in to comment.