@localnerve/sass-asset-functions
Version:
compass-style asset functions for dart-sass or other sass compilers
86 lines (85 loc) • 2.48 kB
JSON
{
"name": "@localnerve/sass-asset-functions",
"version": "7.13.3",
"description": "compass-style asset functions for dart-sass or other sass compilers",
"main": "index.js",
"exports": {
"import": "./index.js",
"require": "./cjs/index.cjs",
"default": "./index.js"
},
"type": "module",
"scripts": {
"lint": "eslint .",
"prepublishOnly": "npm run transpile",
"pretranspile": "node -e 'require(\"fs\").rmSync(\"./cjs\",{recursive:true,force:true})'",
"transpile": "babel index.js -o ./cjs/index.cjs && babel ./lib --out-dir ./cjs/lib",
"posttranspile": "node posttranspile.js",
"test": "npm run test:unit && npm run test:package",
"test:package": "node ./__test-package__/index.js",
"pretest:unit": "node -e 'require(\"fs\").rmSync(\"./coverage\",{recursive:true,force:true})' && node -e 'require(\"fs\").mkdirSync(\"./coverage\",{recursive:true})'",
"test:unit": "node --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=./coverage/lcov.info \"__tests__/test.js\""
},
"repository": {
"type": "git",
"url": "https://github.com/localnerve/sass-asset-functions.git"
},
"keywords": [
"node",
"sass",
"dart-sass",
"assets",
"image",
"image-url",
"image-width",
"image-height",
"font-url",
"font-files",
"lookup"
],
"author": "Alex Grant <alex@localnerve.com>",
"maintainers": [
{
"name": "localnerve",
"email": "alex@localnerve.com",
"url": "https://www.localnerve.com"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/localnerve/sass-asset-functions/issues"
},
"homepage": "https://github.com/localnerve/sass-asset-functions",
"dependencies": {
"image-size": "^2.0.2",
"immutable": "^5.1.8",
"mime-types": "^3.0.2",
"sass": "^1.101.0"
},
"devDependencies": {
"@babel/cli": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@eslint/js": "^10.0.1",
"eslint": "^10.6.0",
"eslint-plugin-n": "^18.2.1",
"glob": "^13.0.6",
"globals": "^17.7.0",
"tar": "^7.5.19"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/localnerve"
},
{
"type": "paypal",
"url": "https://www.paypal.com/ncp/payment/DHCB5GUYMGX5U"
}
],
"engines": {
"node": ">=20"
},
"allowScripts": {
"@parcel/watcher@2.5.6": true
}
}