@asset-pipe/css-reader
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -1,1 +0,94 @@ | ||
{"name":"@asset-pipe/css-reader","version":"1.1.0","author":"Richard Walker <digitalsadhu@gmail.com>","description":"CSS asset feed reader","main":"./lib/reader.js","repository":{"type":"git","url":"https://github.com/asset-pipe/asset-pipe-css-reader"},"publishConfig":{"access":"public"},"keywords":["css","assets"],"contributors":["Richard Walker <digitalsadhu@gmail.com>","Richard Walker (https://github.com/digitalsadhu)"],"license":"MIT","dependencies":{},"devDependencies":{"@asset-pipe/sink-fs":"^1.1.0","commitizen":"^2.9.6","cz-conventional-changelog":"^2.0.0","eslint":"^4.9.0","eslint-config-finn":"^3.0.0","eslint-config-finn-prettier":"^3.0.1","husky":"^0.14.3","jest":"^21.2.1","lint-staged":"^4.2.3","prettier":"^1.7.4","projectz":"^1.4.0","semantic-release":"^8.2.0"},"scripts":{"format":"prettier --write --trailing-comma=all --single-quote --tab-width=4 lib/**/*.js test/**/*.js","lint":"eslint .","test":"jest --coverage","lint:format":"eslint --fix .","precommit":"lint-staged","cm":"git-cz","readme":"projectz compile","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"files":["lib"],"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}},"clearMocks":true},"lint-staged":{"*.js":["eslint --fix --config ./.eslintrc","git add"],"{package.json,README.md,LICENSE.md}":["projectz compile","git add"]},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"badges":{"list":["travisci","npmversion","daviddm","daviddmdev"]},"maintainers":[],"bugs":{"url":"https://github.com/asset-pipe/asset-pipe-css-reader/issues"}} | ||
{ | ||
"name": "@asset-pipe/css-reader", | ||
"version": "1.1.1", | ||
"author": "Richard Walker <digitalsadhu@gmail.com>", | ||
"description": "CSS asset feed reader", | ||
"main": "./lib/reader.js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/asset-pipe/asset-pipe-css-reader" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"keywords": [ | ||
"css", | ||
"assets" | ||
], | ||
"contributors": [ | ||
"Richard Walker <digitalsadhu@gmail.com>", | ||
"Richard Walker (https://github.com/digitalsadhu)", | ||
"Simen Bekkhus (https://github.com/SimenB)", | ||
"Trygve Lie (http://www.trygve-lie.com/)", | ||
"greenkeeper[bot] (http://github.com/apps/greenkeeper)" | ||
], | ||
"license": "MIT", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@asset-pipe/sink-fs": "^1.1.4", | ||
"commitizen": "^3.0.5", | ||
"cz-conventional-changelog": "^2.0.0", | ||
"eslint": "^5.10.0", | ||
"eslint-config-finn": "^3.0.1", | ||
"eslint-config-finn-prettier": "^3.0.2", | ||
"husky": "^1.3.0", | ||
"jest": "^23.6.0", | ||
"lint-staged": "^8.1.0", | ||
"prettier": "^1.15.3", | ||
"projectz": "^1.7.3", | ||
"semantic-release": "^15.1.4", | ||
"travis-deploy-once": "^5.0.11" | ||
}, | ||
"scripts": { | ||
"format": "prettier --write --trailing-comma=all --single-quote --tab-width=4 lib/**/*.js test/**/*.js", | ||
"lint": "eslint .", | ||
"test": "jest --coverage", | ||
"lint:format": "eslint --fix .", | ||
"precommit": "lint-staged", | ||
"cm": "git-cz", | ||
"readme": "projectz compile", | ||
"semantic-release": "semantic-release", | ||
"travis-deploy-once": "travis-deploy-once" | ||
}, | ||
"files": [ | ||
"lib" | ||
], | ||
"jest": { | ||
"coverageThreshold": { | ||
"global": { | ||
"branches": 100, | ||
"functions": 100, | ||
"lines": 100, | ||
"statements": 100 | ||
} | ||
}, | ||
"clearMocks": true | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"eslint --fix --config ./.eslintrc", | ||
"git add" | ||
], | ||
"{package.json,README.md,LICENSE.md}": [ | ||
"projectz compile", | ||
"git add" | ||
] | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "cz-conventional-changelog" | ||
} | ||
}, | ||
"badges": { | ||
"list": [ | ||
"travisci", | ||
"npmversion", | ||
"daviddm", | ||
"daviddmdev" | ||
] | ||
}, | ||
"maintainers": [], | ||
"bugs": { | ||
"url": "https://github.com/asset-pipe/asset-pipe-css-reader/issues" | ||
} | ||
} |
@@ -85,6 +85,6 @@ <!-- TITLE/ --> | ||
```js | ||
cssReader([feed, ...feeds]) | ||
const bundle = await cssReader([feed, ...feeds]) | ||
``` | ||
Returns: `string` | ||
Returns: `Promise<string>` - A promise that resolves to a bundle string. | ||
@@ -91,0 +91,0 @@ ## Contributing |
8410
13