-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
74 lines (74 loc) · 2.86 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "graphqlx",
"version": "1.2.4",
"description": "A GraphQL client written in OCaml and JavaScript",
"keywords": [
"OCaml",
"BuckleScript",
"GraphQL",
"JavaScript"
],
"main": "dist/graphqlx.js",
"directories": {
"lib": "lib",
"src": "src",
"test": "test"
},
"scripts": {
"clean:language": "rm -rf build/coj",
"create:language": "mkdir -p build/coj",
"build:parser": "npm run create:language && menhir --base build/coj/parser src/language/src/parser.mly",
"build:lexer": "npm run create:language && ocamllex -o build/coj/lexer.ml src/language/src/lexer.mll",
"copy:language": "cp src/language/src/parse.ml build/coj && cp src/language/src/types.ml build/coj && cp lib/ocaml/prettify/prettify.ml build/coj",
"post:language": "mv lib/js/build/coj/* lib/js && rm -rf lib/bs && rm -rf lib/js/build",
"build:language": "npm run clean:language && npm run build:parser && npm run build:lexer && npm run copy:language && bsb -make-world && npm run post:language",
"clean:validation": "rm -rf build/coj",
"create:validation": "mkdir -p build/coj",
"copy:validation": "cp src/validation/src/* build/coj",
"build:validation": "npm run clean:validation && npm run create:validation && npm run build:parser && npm run build:lexer && npm run copy:language && npm run copy:validation && bsb -make-world && npm run post:validation",
"post:validation": "mv lib/js/build/coj/* lib/js && rm -rf lib/bs && rm -rf lib/js/build",
"create:dir": "mkdir -p build/coj",
"dist": "npm run build:validation && webpack --config webpack/webpack.prod.js",
"dist:js": "webpack --config webpack/webpack.prod.js",
"test:js": "jest",
"test:parser": "make test_parser && ./parser_test.native",
"test:validation": "make test_validation && ./validation_test.native",
"test": "npm run test:parser && npm run test:validation && npm run test:js"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/tahnik/graphqlx.git"
},
"author": {
"name": "Tahnik Mustasin",
"email": "[email protected]",
"url": "https://www.tahnik.com"
},
"bugs": {
"url": "https://github.com/tahnik/graphqlx/issues"
},
"homepage": "https://github.com/tahnik/graphqlx#readme",
"dependencies": {
"node-fetch": "^2.1.2"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.6.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"bs-platform": "^2.2.2",
"jest": "^22.4.3",
"jest-extended": "^0.7.1",
"jest-html-reporter": "^2.3.0",
"uglifyjs-webpack-plugin": "^1.2.5",
"webpack": "^4.6.0",
"webpack-cli": "^2.0.14"
},
"jest": {
"setupTestFrameworkScriptFile": "jest-extended",
"browser": true,
"verbose": true,
"testResultsProcessor": "./node_modules/jest-html-reporter"
}
}