-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(package): add types to add TS to Node.js exports configuration (#12
) * feat(package): add types to add TS to Node.js exports configuration * refactor(workaround): move web to the root
- Loading branch information
Showing
2 changed files
with
59 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,59 @@ | ||
{ | ||
"name": "@nodesecure/flags", | ||
"version": "2.2.0", | ||
"description": "NodeSecure security flags", | ||
"scripts": { | ||
"test": "cross-env esm-tape-runner 'test/**/*.js' | tap-monkey", | ||
"coverage": "c8 -r html npm test", | ||
"lint": "cross-env eslint index.js", | ||
"generateFlags": "node scripts/generateFlags.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/NodeSecure/flags.git" | ||
}, | ||
"keywords": [ | ||
"nodesecure", | ||
"flags", | ||
"documentation" | ||
], | ||
"exports": { | ||
".": "./index.js", | ||
"./web": "./src/web.js", | ||
"./package.json": "./package.json" | ||
}, | ||
"modes": { | ||
"web": "src/web.js" | ||
}, | ||
"author": "GENTILHOMME Thomas <[email protected]>", | ||
"files": [ | ||
"index.d.ts", | ||
"index.js", | ||
"src", | ||
"FLAGS.md" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/NodeSecure/flags/issues" | ||
}, | ||
"homepage": "https://github.com/NodeSecure/flags#readme", | ||
"devDependencies": { | ||
"@nodesecure/eslint-config": "^1.4.0", | ||
"@slimio/is": "^1.5.1", | ||
"@small-tech/esm-tape-runner": "^2.0.0", | ||
"@small-tech/tap-monkey": "^1.4.0", | ||
"c8": "^7.11.3", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.16.0", | ||
"tape": "^5.5.3", | ||
"turndown": "^7.1.1" | ||
}, | ||
"type": "module" | ||
} | ||
{ | ||
"name": "@nodesecure/flags", | ||
"version": "2.2.0", | ||
"description": "NodeSecure security flags", | ||
"scripts": { | ||
"test": "cross-env esm-tape-runner 'test/**/*.js' | tap-monkey", | ||
"coverage": "c8 -r html npm test", | ||
"lint": "cross-env eslint index.js", | ||
"generateFlags": "node scripts/generateFlags.js" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/NodeSecure/flags.git" | ||
}, | ||
"keywords": [ | ||
"nodesecure", | ||
"flags", | ||
"documentation" | ||
], | ||
"exports": { | ||
".": { | ||
"import": "./index.js" | ||
}, | ||
"./web": { | ||
"types": "./web.d.ts", | ||
"import": "./src/web.js" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"types": "./index.d.ts", | ||
"modes": { | ||
"web": "src/web.js" | ||
}, | ||
"author": "GENTILHOMME Thomas <[email protected]>", | ||
"files": [ | ||
"index.d.ts", | ||
"index.js", | ||
"web.d.ts", | ||
"src", | ||
"FLAGS.md" | ||
], | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/NodeSecure/flags/issues" | ||
}, | ||
"homepage": "https://github.com/NodeSecure/flags#readme", | ||
"devDependencies": { | ||
"@nodesecure/eslint-config": "^1.4.0", | ||
"@slimio/is": "^1.5.1", | ||
"@small-tech/esm-tape-runner": "^2.0.0", | ||
"@small-tech/tap-monkey": "^1.4.0", | ||
"c8": "^7.11.3", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.16.0", | ||
"tape": "^5.5.3", | ||
"turndown": "^7.1.1" | ||
}, | ||
"type": "module" | ||
} |
File renamed without changes.