UNPKG

1.27 kBJSONView Raw
1{
2 "name": "character-parser",
3 "@rollingversions": {
4 "versioning": "ALWAYS_INCREASING"
5 },
6 "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.",
7 "main": "lib/index.js",
8 "types": "lib/index.d.ts",
9 "exports": {
10 ".": [
11 {
12 "import": "./lib/index.mjs",
13 "require": "./lib/index.js",
14 "default": "./lib/index.js"
15 },
16 "./lib/index.js"
17 ]
18 },
19 "files": [
20 "lib"
21 ],
22 "scripts": {
23 "pretest": "npm run build",
24 "prepublishOnly": "npm run build",
25 "build": "tsc && tsc -p tsconfig.modules.json && mv lib-next/index.js lib/index.mjs && rimraf lib-next",
26 "test": "node test/index.js"
27 },
28 "repository": {
29 "type": "git",
30 "url": "https://github.com/ForbesLindesay/character-parser.git"
31 },
32 "keywords": [
33 "parser",
34 "JavaScript",
35 "bracket",
36 "nesting",
37 "comment",
38 "string",
39 "escape",
40 "escaping"
41 ],
42 "author": "ForbesLindesay",
43 "license": "MIT",
44 "devDependencies": {
45 "rimraf": "^3.0.2",
46 "testit": "~3.1.0",
47 "typescript": "^4.5.4"
48 },
49 "dependencies": {},
50 "version": "4.0.0"
51}