forked from WP-API/node-wpapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.74 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
{
"author": {
"name": "K.Adam White",
"url": "http://www.kadamwhite.com"
},
"name": "wpapi",
"version": "2.0.0-alpha.1",
"description": "An isomorphic JavaScript client for interacting with the WordPress REST API",
"main": "wpapi.js",
"repository": {
"type": "git",
"url": "https://github.com/wp-api/node-wpapi.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/wp-api/node-wpapi/issues"
},
"homepage": "https://github.com/wp-api/node-wpapi",
"keywords": [
"api",
"client",
"cms",
"wordpress"
],
"browserslist": "last 2 versions, ie 11, not dead",
"jest": {
"testMatch": [
"**/__tests__/**/*.js",
"**/?(*.)+(spec|test).js",
"**/tests/**/*.js"
],
"testPathIgnorePatterns": [
"test.js",
".eslintrc.js",
"/tests/helpers/"
],
"coveragePathIgnorePatterns": [
"/tests/helpers/"
]
},
"scripts": {
"build": "webpack && webpack --config webpack.config.minified.js",
"build:stats": "webpack && webpack --config webpack.config.minified.js --stats",
"zip": "npm run build && grunt zip",
"update-default-routes-json": "node build/scripts/update-default-routes-json",
"predocs": "rimraf documentation/api-reference",
"docs": "grunt docs && jsdoc -c .jsdoc.json --verbose",
"postdocs": "rimraf documentation/api-readme.md",
"jekyll": "node bin/jekyll",
"release-docs": "node build/scripts/release-docs",
"release-npm": "npm run build && npm test && npm publish",
"eslint": "eslint Gruntfile.js wpapi.js bin build lib tests",
"lint": "npm run eslint",
"watch": "jest --watch",
"test:all": "jest",
"test:unit": "jest tests/unit superagent/tests/unit fetch/tests/unit",
"test:integration": "jest tests/integration",
"test:ci": "npm run eslint && jest tests/unit --coverage",
"pretest": "npm run lint || true",
"test": "jest --coverage"
},
"dependencies": {
"li": "^1.3.0",
"parse-link-header": "^1.0.1",
"qs": "^6.7.0"
},
"optionalDependencies": {
"form-data": "^2.5.0",
"node-fetch": "^2.6.0",
"superagent": "^4.1.0"
},
"devDependencies": {
"@babel/core": "^7.5.0",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/preset-env": "^7.5.0",
"babel-loader": "^8.0.6",
"combyne": "^2.0.0",
"eslint": "^4.19.1",
"grunt": "^1.0.4",
"grunt-cli": "^1.2.0",
"grunt-contrib-clean": "^1.0.0",
"grunt-zip": "^0.17.1",
"jest": "^24.8.0",
"jsdoc": "^3.6.2",
"kramed": "^0.5.6",
"load-grunt-tasks": "^3.5.0",
"minami": "^1.2.3",
"minimist": "^1.2.0",
"prompt": "^1.0.0",
"rimraf": "^2.6.3",
"webpack": "^4.35.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.5"
}
}