-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (50 loc) · 1.75 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "@json-api/querystring",
"version": "1.1.2",
"description": "A query parser/serializer for the ?filter and ?sort param syntax used by the json-api library",
"main": "build/src/index.js",
"typings": "build/src/index.d.ts",
"scripts": {
"clean": "rimraf build",
"copy-parser": "cpr src/parsing/parser.js build/src/parsing/parser.js && cpr src/parsing/parser.d.ts build/src/parsing/parser.d.ts",
"build:parser": "pegjs --allowed-start-rules Sort,Filter -o src/parsing/parser.js src/parsing/grammar.pegjs",
"build:test-parser": "pegjs --allowed-start-rules Sort,Filter,Symbol -o src/parsing/parser.js src/parsing/grammar.pegjs",
"build:ts": "echo Using TypeScript && tsc --version && tsc --pretty",
"build": "npm run clean && npm run build:parser && npm run build:ts",
"test": "npm run build:test-parser && npm run test:built",
"test:built": "NODE_ENV=testing mocha --compilers ts:ts-node/register --recursive test/ --full-trace --check-leaks",
"prepare": "npm run build && npm run copy-parser"
},
"author": "Ethan Resnick <[email protected]>",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/ethanresnick/json-api-custom-query.git"
},
"devDependencies": {
"@types/chai": "^4.1.2",
"@types/mocha": "^5.0.0",
"@types/node": "^10.5.1",
"@types/ramda": "^0.25.21",
"chai": "^4.1.2",
"cpr": "^3.0.1",
"jsverify": "ethanresnick/jsverify#type-throws",
"mocha": "^5.0.5",
"pegjs": "^0.10.0",
"randexp": "^0.5.3",
"rimraf": "^2.6.2",
"ts-node": "^5.0.1",
"typescript": "^2.8.1"
},
"engines": {
"node": ">=6.x.x"
},
"files": [
"index.d.ts",
"index.js",
"build/"
],
"dependencies": {
"ramda": "^0.25.0"
}
}