UNPKG

rollup-plugin-scss

Version:

Rollup multiple .scss, .sass and .css imports

76 lines (75 loc) 2.75 kB
{ "name": "rollup-plugin-scss", "version": "4.0.0", "description": "Rollup multiple .scss, .sass and .css imports", "main": "index.cjs.js", "module": "index.es.js", "jsnext:main": "index.es.js", "scripts": { "build": "rollup -c", "dev": "rollup -cw", "lint": "standard rollup.config.js index.es.js", "fix": "prettier --write . ", "test:node-sass": "cd test/node-sass && rm -f output.* && rollup -c && cmp output.js ../expected.js && cmp output.css expected.css && cd ../..", "test:sass": "cd test/sass && rm -f output.* && rollup -c && cmp nested/output.js ../expected.js && cmp nested/output.css expected.css && cd ../..", "test:insert": "cd test/insert && rm -f output.* && rollup -c && cmp output.js expected.js && cd ../..", "test:postcss": "cd test/postcss && rm -f output.* && rollup -c && cmp output.js ../expected.js && cmp output.css expected.css && cd ../..", "test:processor": "cd test/processor && rm -f output.* && rollup -c && cmp output.js ../expected.js && cmp output.css expected.css && cd ../..", "test:sourcemap": "cd test/sourcemap && rm -f output.* && rollup -c && cmp output.js ../expected.js && cmp nested/output.css expected.css && cmp nested/output.css.map expected.css.map && cd ../..", "test": "npm run test:node-sass && npm run test:sass && npm run test:processor && npm run test:postcss && npm run test:sourcemap && npm run test:insert", "testw": "cd test/node-sass && rm -f output.* && rollup -cw; cd ..", "prepare": "rollup -c" }, "keywords": [ "rollup-plugin", "css", "sass", "scss" ], "license": "MIT", "author": "Thomas Ghysels <info@thomasg.be>", "homepage": "https://github.com/thgh/rollup-plugin-scss", "bugs": { "url": "https://github.com/thgh/rollup-plugin-scss/issues" }, "repository": { "type": "git", "url": "https://github.com/thgh/rollup-plugin-scss" }, "files": [ "index.cjs.js", "index.d.ts", "index.es.js" ], "dependencies": { "rollup-pluginutils": "^2.3.3" }, "devDependencies": { "@types/node": "^14.14.30", "@types/node-sass": "^4.11.1", "@types/sass": "^1.16.0", "autoprefixer": "^9.8.6", "node-sass": "^8", "postcss": "^7.0.32", "prettier": "2", "rollup": "2", "rollup-plugin-buble": "0", "rollup-plugin-typescript2": "^0.30.0", "sass": "^1.26.3", "typescript": "^4.1.5" }, "prettier": { "arrowParens": "avoid", "bracketSpacing": true, "insertPragma": false, "jsxBracketSameLine": false, "printWidth": 80, "proseWrap": "preserve", "requirePragma": false, "semi": false, "singleQuote": true, "tabWidth": 2, "trailingComma": "none", "useTabs": false } }