-
Notifications
You must be signed in to change notification settings - Fork 68
/
package.json
110 lines (110 loc) · 3.65 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "spraypaint",
"description": "Graphiti Client / Javascript ORM",
"main": "lib/index.js",
"module": "lib-esm/index.js",
"types": "lib-esm/index.d.ts",
"author": "Lee Richmond<[email protected]> & Wade Tandy<[email protected]>",
"license": "MIT",
"homepage": "https://github.com/graphiti-api/spraypaint.js",
"scripts": {
"clean": "rimraf ./dist ./build ./coverage ./lib ./lib-esm",
"prebuild": "yarn run clean && yarn test:ci && yarn lint:ci",
"build": "npm-run-all build:node build:es6 build:copy_shims build:umd build:umd:min",
"build:node": "yarn run tsc -p ./tsconfig.node.json",
"build:es6": "yarn run tsc -p ./tsconfig.lib.json",
"build:umd": "yarn run rollup -c",
"build:umd:min": "NODE_ENV=production yarn build:umd",
"build:watch": "NODE_ENV=watch yarn build:es6 --watch",
"build:copy_shims": "cp esm-shims/* lib-esm/util/",
"build:coverage": "yarn prebuild && yarn run tsc -p .",
"coverage": "yarn build:coverage && node --harmony ./node_modules/istanbul/lib/cli.js cover --root ./build/src --report lcov --report text ./node_modules/mocha/bin/_mocha ./build/test/**/*.test.js",
"test": "NODE_ENV=test mocha --opts test/mocha.opts",
"test:watch": "yarn run test --watch",
"test:all-versions": "yarn tav",
"test:es6-compatibility": "yarn build:es6 && mocha --opts test/es6-compatibility/mocha.opts",
"test:ci": "yarn test:all-versions && yarn test:es6-compatibility && yarn test",
"lint": "yarn run lint:ci --fix",
"lint:ci": "yarn run eslint {src,test}{,/**}/*.ts",
"prepublish": "yarn build",
"update:dependencies": "ncu -u"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.json": [
"eslint --fix",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
],
"*.ts": [
"eslint --fix",
"git add"
]
},
"dependencies": {
"eventbusjs": "^0.2.0",
"inflected": "^2.0.3",
"lodash": "^4.17.5",
"lodash-es": "^4.17.5",
"tslib": "^1.8.1"
},
"devDependencies": {
"@babel/cli": "7.2.3",
"@babel/core": "7.2.2",
"@babel/plugin-proposal-class-properties": "7.3.0",
"@babel/plugin-proposal-decorators": "7.3.0",
"@babel/plugin-transform-modules-commonjs": "7.2.0",
"@babel/preset-env": "7.3.1",
"@babel/register": "7.0.0",
"@types/chai": "^4.0.4",
"@types/chai-as-promised": "^7.1.0",
"@types/chai-things": "^0.0.32",
"@types/fetch-mock": "5.12.2",
"@types/inflected": "1.1.29",
"@types/lodash": "4.14.92",
"@types/lodash-es": "4.17.0",
"@types/lodash.clonedeep": "4.5.3",
"@types/lodash.snakecase": "^4.1.3",
"@types/mocha": "^2.2.44",
"@types/node": "^8.0.58",
"@types/sinon": "^4.1.2",
"@types/sinon-chai": "^2.7.29",
"@types/winston": "2.3.7",
"chai": "^4.1.2",
"chai-things": "^0.2.0",
"es6-promise": "4.2.4",
"eslint": "5.12.0",
"eslint-config-prettier": "3.5.0",
"eslint-plugin-prettier": "3.0.1",
"eslint-plugin-typescript": "0.14.0",
"fetch-mock": "^5.10.0",
"husky": "1.3.1",
"isomorphic-fetch": "^2.2.1",
"istanbul": "0.4.5",
"lint-staged": "8.1.0",
"mocha": "^4.0.1",
"npm-check-updates": "^2.13.0",
"npm-run-all": "4.1.2",
"prettier": "1.15.3",
"rimraf": "2.6.2",
"rollup": "0.52.1",
"rollup-plugin-commonjs": "8.2.6",
"rollup-plugin-node-resolve": "3.0.0",
"rollup-plugin-uglify": "2.0.1",
"sinon": "^4.0.2",
"sinon-chai": "2.14.0",
"test-all-versions": "3.3.3",
"ts-node": "4.0.1",
"typescript": "3.2.4",
"typescript-eslint-parser": "21.0.2",
"winston": "^2.3.1"
},
"version": "0.10.22"
}