-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
executable file
·32 lines (32 loc) · 979 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"name": "cson2json",
"repository": "github:fabiospampinato/cson2json",
"description": "A super-lightweight library for converting CSON objects to JSON objects.",
"version": "2.0.0",
"type": "module",
"main": "dist/index.js",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"clean": "tsex clean",
"parser": "pegjs -O size -o src/parser/cson.js src/parser/cson.pegjs",
"parser:esm": "sed -i -e 's/module.exports/export const CSON/' src/parser/cson.js && rm src/parser/cson.js-e",
"compile": "tsex compile",
"compile:watch": "tsex compile --watch",
"test": "node test/index.js",
"prepublishOnly": "npm run clean && npm run parser && npm run parser:esm && npm run compile && npm run test"
},
"keywords": [
"cson",
"json",
"parser",
"converter",
"pegjs"
],
"devDependencies": {
"pegjs": "0.10.0",
"test-diff": "2.0.2",
"tsex": "^1.1.2",
"typescript": "^4.8.4"
}
}