Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
179 lines (178 sloc) 4.02 KB
{
"name": "@quickbaseoss/babel-plugin-styled-components-css-namespace",
"version": "1.0.0-rc",
"description": "A babel plugin to add css namespaces to all styled components.",
"keywords": [
"styled-components",
"css-in-js",
"babel-plugin",
"css-namespaces",
"css-specificity"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/QuickBase/babel-plugin-styled-components-css-namespace"
},
"bugs": {
"url": "https://github.com/QuickBase/babel-plugin-styled-components-css-namespace/issues"
},
"main": "lib/index.js",
"files": [
"lib"
],
"author": "Quick Base",
"contributors": [
"Gen Edwards <gedwards@quickbase.com>",
"Michael Harris <mharris@quickbase.com>",
"Nick Vanselow <nvanselow@quickbase.com>",
"Danilo Castro <daniloster@gmail.com>",
"Zach Hardesty <hello@zachhardesty.com> (https://zachhardesty.com)"
],
"license": "MIT",
"private": false,
"scripts": {
"clean": "rimraf lib",
"build": "babel src -d lib --ignore src/tests,src/vendor",
"test": "jest",
"test:watch": "yarn run test -- --watch",
"test:snap": "yarn run test -- --updateSnapshot",
"prepare": "yarn run clean && yarn run build",
"precommit": "lint-staged",
"lint": "yarn run lint:js",
"lint:js": "yarn run lint:eslint -- . ",
"lint:eslint": "eslint --ignore-path .eslintignore"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": [
"prettier --single-quote --write",
"yarn run lint:eslint",
"git add"
]
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": 11
}
}
],
"@babel/preset-react"
]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"prettier",
"plugin:react/recommended"
],
"env": {
"browser": false,
"node": true,
"jest": true,
"es6": true
},
"plugins": [
"prettier",
"react"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true
}
],
"arrow-body-style": [
2,
"as-needed"
],
"comma-dangle": [
2,
"never"
],
"indent": [
0,
2,
{
"SwitchCase": 1
}
],
"max-len": 0,
"newline-per-chained-call": 0,
"no-confusing-arrow": 0,
"no-console": 1,
"no-use-before-define": 0,
"prefer-template": 2,
"class-methods-use-this": 0,
"require-yield": 0,
"quotes": [
2,
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"no-unused-vars": 2
}
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
],
"testMatch": [
"<rootDir>/src/**/*.(spec|test).js"
],
"transform": {
"^.+\\.js?$": "babel-jest"
}
},
"dependencies": {
"babel-plugin-styled-components": "1.10.x",
"babel-types": "6.26.x",
"deasync": "0.1.x",
"postcss": "7.0.x",
"postcss-nested": "4.1.x",
"postcss-parent-selector": "1.0.x",
"postcss-safe-parser": "4.0.x"
},
"devDependencies": {
"@babel/cli": "7.2.x",
"@babel/core": "7.2.x",
"@babel/preset-env": "7.3.x",
"@babel/preset-react": "7.0.x",
"babel-core": "^6.26.3",
"babel-eslint": "10.0.x",
"babel-jest": "24.1.x",
"babel-plugin-tester": "5.5.x",
"eslint": "5.13.x",
"eslint-config-prettier": "4.0.x",
"eslint-plugin-prettier": "3.0.x",
"eslint-plugin-react": "7.12.x",
"husky": "1.3.x",
"jest": "24.1.x",
"jest-styled-components": "6.3.x",
"lint-staged": "8.1.x",
"prettier": "1.16.x",
"react": "16.8.x",
"react-dom": "16.8.x",
"react-test-renderer": "16.8.x",
"rimraf": "2.6.x",
"styled-components": "4.1.x"
}
}
You can’t perform that action at this time.