1 | {
|
2 | "name": "postcss-extend-rule",
|
3 | "version": "4.0.0",
|
4 | "description": "Use the @extend at-rule and functional selectors in CSS",
|
5 | "author": "Jonathan Neal <jonathantneal@hotmail.com>",
|
6 | "license": "CC0-1.0",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "https://github.com/csstools/postcss-extend-rule.git"
|
10 | },
|
11 | "homepage": "https://github.com/csstools/postcss-extend-rule#readme",
|
12 | "bugs": "https://github.com/csstools/postcss-extend-rule/issues",
|
13 | "main": "dist/index.cjs",
|
14 | "module": "dist/index.mjs",
|
15 | "exports": {
|
16 | ".": {
|
17 | "import": "./dist/index.mjs",
|
18 | "require": "./dist/index.cjs",
|
19 | "default": "./dist/index.mjs"
|
20 | }
|
21 | },
|
22 | "files": [
|
23 | "CHANGELOG.md",
|
24 | "LICENSE.md",
|
25 | "README.md",
|
26 | "dist"
|
27 | ],
|
28 | "scripts": {
|
29 | "build": "rollup --config .rollup.js --silent",
|
30 | "clean": "node -e \"fs.rmSync('./dist', { recursive: true, force: true });\"",
|
31 | "prepublishOnly": "npm run clean && npm run build && npm run test",
|
32 | "test": "npm run lint && npm run test:tape",
|
33 | "lint": "eslint src/{*,**/*}.js --cache --ignore-path .gitignore --quiet",
|
34 | "test:tape": "postcss-tape"
|
35 | },
|
36 | "engines": {
|
37 | "node": "^12 || ^14 || >=16"
|
38 | },
|
39 | "dependencies": {
|
40 | "postcss-nesting": "^10.1.2"
|
41 | },
|
42 | "devDependencies": {
|
43 | "@babel/core": "^7.17.2",
|
44 | "@babel/eslint-parser": "^7.17.0",
|
45 | "@babel/preset-env": "^7.16.11",
|
46 | "eslint": "^8.8.0",
|
47 | "postcss": "^8.4.6",
|
48 | "postcss-tape": "^6.0.1",
|
49 | "rollup": "^2.67.2",
|
50 | "rollup-plugin-babel": "^4.4.0"
|
51 | },
|
52 | "peerDependencies": {
|
53 | "postcss": "^8.4.6"
|
54 | },
|
55 | "postcssConfig": {
|
56 | "config": ".tape.js"
|
57 | },
|
58 | "eslintConfig": {
|
59 | "env": {
|
60 | "es6": true,
|
61 | "node": true
|
62 | },
|
63 | "extends": "eslint:recommended",
|
64 | "rules": {
|
65 | "quotes": [
|
66 | "error",
|
67 | "single"
|
68 | ],
|
69 | "comma-dangle": [
|
70 | "error",
|
71 | "always-multiline"
|
72 | ],
|
73 | "semi": [
|
74 | "error",
|
75 | "always"
|
76 | ],
|
77 | "curly": "error",
|
78 | "brace-style": "error",
|
79 | "indent": [
|
80 | "error",
|
81 | "tab",
|
82 | {
|
83 | "SwitchCase": 1
|
84 | }
|
85 | ],
|
86 | "radix": "error"
|
87 | },
|
88 | "parserOptions": {
|
89 | "ecmaVersion": 2020,
|
90 | "sourceType": "module"
|
91 | },
|
92 | "root": true
|
93 | },
|
94 | "keywords": [
|
95 | "postcss",
|
96 | "css",
|
97 | "postcss-plugin",
|
98 | "extend",
|
99 | "matched",
|
100 | "matches",
|
101 | "match",
|
102 | "selectors",
|
103 | "subclassing",
|
104 | "subclasses",
|
105 | "subclass",
|
106 | "styling",
|
107 | "styles",
|
108 | "style",
|
109 | "placeholder",
|
110 | "placehold",
|
111 | "selectors",
|
112 | "selector",
|
113 | "chaining"
|
114 | ]
|
115 | }
|