character-parser
Version:
Parse JavaScript one character at a time to look for snippets in Templates. This is not a validator, it's just designed to allow you to have sections of JavaScript delimited by brackets robustly.
52 lines (51 loc) • 1.27 kB
JSON
{
"name": "character-parser",
"@rollingversions": {
"versioning": "ALWAYS_INCREASING"
},
"description": "Parse JavaScript one character at a time to look for snippets in Templates. This is not a validator, it's just designed to allow you to have sections of JavaScript delimited by brackets robustly.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": [
{
"import": "./lib/index.mjs",
"require": "./lib/index.js",
"default": "./lib/index.js"
},
"./lib/index.js"
]
},
"files": [
"lib"
],
"scripts": {
"pretest": "npm run build",
"prepublishOnly": "npm run build",
"build": "tsc && tsc -p tsconfig.modules.json && mv lib-next/index.js lib/index.mjs && rimraf lib-next",
"test": "node test/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/ForbesLindesay/character-parser.git"
},
"keywords": [
"parser",
"JavaScript",
"bracket",
"nesting",
"comment",
"string",
"escape",
"escaping"
],
"author": "ForbesLindesay",
"license": "MIT",
"devDependencies": {
"rimraf": "^3.0.2",
"testit": "~3.1.0",
"typescript": "^4.5.4"
},
"dependencies": {},
"version": "4.0.0"
}