You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.5 KiB
60 lines
1.5 KiB
3 years ago
|
{
|
||
|
"name": "css-declaration-sorter",
|
||
|
"version": "6.1.4",
|
||
|
"description": "Sorts CSS declarations fast and automatically in a certain order.",
|
||
|
"type": "module",
|
||
|
"main": "./src/main.cjs",
|
||
|
"exports": {
|
||
|
"import": "./src/main.mjs",
|
||
|
"require": "./src/main.cjs"
|
||
|
},
|
||
|
"files": [
|
||
|
"src/main.mjs",
|
||
|
"src/main.cjs",
|
||
|
"src/shorthand-data.mjs",
|
||
|
"orders"
|
||
|
],
|
||
|
"scripts": {
|
||
|
"prebuild": "rollup orders/*.mjs --format cjs --dir orders; rename .js .cjs orders/*.js",
|
||
|
"build": "rollup src/main.mjs --exports default --format cjs --file src/main.cjs",
|
||
|
"postbuild": "sed -i 's/mjs/cjs/' src/main.cjs",
|
||
|
"preversion": "npm test",
|
||
|
"test": "uvu src .+\\.test\\.mjs",
|
||
|
"test:ci": "npm test && npm run lint -- --max-warnings 0",
|
||
|
"lint": "eslint src/*.mjs",
|
||
|
"scrape": "node src/property-scraper.mjs",
|
||
|
"prepack": "npm run build"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"timsort": "^0.3.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@mdn/browser-compat-data": "^3.3.14",
|
||
|
"eslint": "^7.32.0",
|
||
|
"postcss": "^8.3.8",
|
||
|
"rollup": "^2.57.0",
|
||
|
"uvu": "^0.5.1"
|
||
|
},
|
||
|
"peerDependencies": {
|
||
|
"postcss": "^8.0.9"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">= 10"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/Siilwyn/css-declaration-sorter.git"
|
||
|
},
|
||
|
"author": "Selwyn <talk@selwyn.cc> (https://selwyn.cc/)",
|
||
|
"license": "ISC",
|
||
|
"keywords": [
|
||
|
"postcss",
|
||
|
"postcss-plugin",
|
||
|
"css",
|
||
|
"declaration",
|
||
|
"sorter",
|
||
|
"property",
|
||
|
"order"
|
||
|
]
|
||
|
}
|