|
2 | 2 | "name": "netlify", |
3 | 3 | "description": "Netlify Node.js API client", |
4 | 4 | "version": "2.4.8", |
5 | | - "author": "Netlify Inc.", |
6 | 5 | "ava": { |
7 | 6 | "files": [ |
8 | 7 | "src/**/*.test.js" |
|
16 | 15 | "!*.test.js*", |
17 | 16 | "!*~" |
18 | 17 | ], |
| 18 | + "main": "src/index.js", |
19 | 19 | "unpkg": "./dist/main.js", |
20 | 20 | "umd:main": "./dist/main.js", |
21 | 21 | "browser": { |
22 | 22 | "./src/deploy/index.js": "./src/deploy/index.browser.js" |
23 | 23 | }, |
24 | | - "bugs": { |
25 | | - "url": "https://github.com/netlify/js-client/issues" |
| 24 | + "scripts": { |
| 25 | + "prepublishOnly": "run-s build && git push && git push --tags && gh-release", |
| 26 | + "ci": "run-s test build", |
| 27 | + "test": "run-s test:* test:dev:*", |
| 28 | + "test-ci": "run-s test:* test:ci:*", |
| 29 | + "test:lint": "eslint --ignore-path .gitignore --fix --cache --format=codeframe --max-warnings=0 \"src/**/*.js\" \"*.js\"", |
| 30 | + "test:prettier": "prettier --ignore-path .gitignore --write --loglevel warn \"src/**/*.js\" \"*.{js,md,yml,json}\"", |
| 31 | + "test:dev:ava": "ava", |
| 32 | + "test:ci:ava": "nyc -r lcovonly -r text -r json ava", |
| 33 | + "build": "run-s build:*", |
| 34 | + "build:webpack": "webpack", |
| 35 | + "clean": "rimraf dist coverage", |
| 36 | + "version": "auto-changelog -p --template keepachangelog --breaking-pattern breaking && git add CHANGELOG.md" |
26 | 37 | }, |
| 38 | + "license": "MIT", |
| 39 | + "author": "Netlify Inc.", |
27 | 40 | "contributors": [ |
28 | 41 | "Mathias Biilmann <matt@netlify.com> (https://twitter.com/biilmann)", |
29 | 42 | "David Calavera <david@netlify.com> (https://twitter.com/calavera)", |
30 | 43 | "David Wells <david.wells@netlify.com> (https://davidwells.io/)", |
31 | 44 | "Bret Comnes <bcomnes@gmail.com> (https://bret.io)" |
32 | 45 | ], |
| 46 | + "homepage": "https://github.com/netlify/js-client", |
| 47 | + "repository": { |
| 48 | + "type": "git", |
| 49 | + "url": "https://github.com/netlify/js-client.git" |
| 50 | + }, |
| 51 | + "bugs": { |
| 52 | + "url": "https://github.com/netlify/js-client/issues" |
| 53 | + }, |
| 54 | + "keywords": [ |
| 55 | + "api client", |
| 56 | + "js client", |
| 57 | + "netlify", |
| 58 | + "node client" |
| 59 | + ], |
33 | 60 | "dependencies": { |
34 | 61 | "@netlify/open-api": "^0.9.0", |
35 | 62 | "@netlify/zip-it-and-ship-it": "^0.3.1", |
|
82 | 109 | }, |
83 | 110 | "engines": { |
84 | 111 | "node": ">=8.3.0" |
85 | | - }, |
86 | | - "homepage": "https://github.com/netlify/js-client", |
87 | | - "keywords": [ |
88 | | - "api client", |
89 | | - "js client", |
90 | | - "netlify", |
91 | | - "node client" |
92 | | - ], |
93 | | - "license": "MIT", |
94 | | - "main": "src/index.js", |
95 | | - "optionalDependencies": {}, |
96 | | - "repository": { |
97 | | - "type": "git", |
98 | | - "url": "https://github.com/netlify/js-client.git" |
99 | | - }, |
100 | | - "scripts": { |
101 | | - "prepublishOnly": "run-s build && git push && git push --tags && gh-release", |
102 | | - "ci": "run-s test build", |
103 | | - "test": "run-s test:* test:dev:*", |
104 | | - "test-ci": "run-s test:* test:ci:*", |
105 | | - "test:lint": "eslint --ignore-path .gitignore --fix --cache --format=codeframe --max-warnings=0 \"src/**/*.js\" \"*.js\"", |
106 | | - "test:prettier": "prettier --ignore-path .gitignore --write --loglevel warn \"src/**/*.js\" \"*.{js,md,yml,json}\"", |
107 | | - "test:dev:ava": "ava", |
108 | | - "test:ci:ava": "nyc -r lcovonly -r text -r json ava", |
109 | | - "build": "run-s build:*", |
110 | | - "build:webpack": "webpack", |
111 | | - "deptree": "depcruise --exclude '^node_modules' --output-type dot src | dot -T svg > site/dist/dependencygraph.svg", |
112 | | - "clean": "rimraf dist coverage", |
113 | | - "version": "auto-changelog -p --template keepachangelog --breaking-pattern breaking && git add CHANGELOG.md" |
114 | 112 | } |
115 | 113 | } |
0 commit comments