UNPKG

get-sass-vars

Version:

Get Sass variables as JSON object.

96 lines (95 loc) 2.82 kB
{ "name": "get-sass-vars", "version": "4.0.3", "description": "Get Sass variables as JSON object.", "license": "MIT", "author": "Ivan Nikolić <niksy5@gmail.com> (http://ivannikolic.com)", "sideEffects": false, "exports": { ".": { "import": "./esm/index.js", "require": "./cjs/index.js" }, "./package.json": "./package.json" }, "main": "cjs/index.js", "module": "esm/index.js", "types": "esm/index.d.ts", "directories": { "test": "test" }, "files": [ "cjs/", "esm/", "CHANGELOG.md", "LICENSE.md", "README.md" ], "scripts": { "build": "rollup --config rollup.config.js", "lint": "eslint '{index,lib/**/*,test/**/*}.js'", "lint:types": "tsc", "module-check": "node -e 'require(\"get-sass-vars\");' && node --input-type=module -e 'import \"get-sass-vars\";'", "prepublishOnly": "npm run build", "postpublish": "GITHUB_TOKEN=$GITHUB_RELEASE_TOKEN github-release-from-changelog", "prerelease": "npm run lint && npm run lint:types && npm run build && npm run module-check", "release": "np --no-release-draft", "test": "nyc mocha --require esm 'test/**/*.js' && nyc check-coverage", "test:watch": "nodemon --exec npm test", "version": "if [ $(git rev-parse --abbrev-ref HEAD) == 'master' ]; then sed -i '' '/\\[unreleased\\]:/d' CHANGELOG.md && version-changelog CHANGELOG.md && changelog-verify CHANGELOG.md && git add CHANGELOG.md; else echo; fi" }, "dependencies": { "@ungap/from-entries": "^0.2.1", "camelcase-keys": "^6.2.2", "node-sass-json-functions": "^4.0.1", "postcss": "^8.2.4", "postcss-scss": "^4.0.2", "sass": "^1.47.0", "string-replace-all-ponyfill": "^1.0.1", "strip-outer": "^1.0.1" }, "devDependencies": { "@types/mocha": "^9.0.0", "@types/node": "^16.3.0", "changelog-verify": "^1.1.2", "cpy": "^8.1.2", "eslint": "^8.5.0", "eslint-config-nitpick": "^11.1.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "esm": "^3.0.51", "execa": "^5.1.1", "github-release-from-changelog": "^2.1.1", "husky": "^4.3.0", "lint-staged": "^10.4.2", "load-json-file": "^6.2.0", "mocha": "^8.4.0", "nodemon": "^2.0.6", "np": "^7.6.0", "nyc": "^15.1.0", "prettier": "^2.4.0", "rollup": "^2.32.1", "typescript": "^4.3.5", "version-changelog": "^3.1.1" }, "engines": { "node": ">=12.22" }, "keywords": [ "export", "get", "json", "node", "sass", "variables", "vars" ], "repository": { "type": "git", "url": "git+https://github.com/niksy/get-sass-vars.git" }, "bugs": { "url": "https://github.com/niksy/get-sass-vars/issues" }, "homepage": "https://github.com/niksy/get-sass-vars#readme" }