@phun-ky/speccer
Version:
A script to annotate, show spacing specs and to display typography information in documentation/website on HTML elements
146 lines (145 loc) • 4.83 kB
JSON
{
"name": "@phun-ky/speccer",
"version": "11.3.51",
"description": "A script to annotate, show spacing specs and to display typography information in documentation/website on HTML elements",
"keywords": [
"a11y",
"accessibility",
"anatomy",
"annotate",
"annotation",
"css",
"design",
"design system",
"dissect",
"dissection",
"documentation",
"grid",
"grid-layout",
"html",
"html-elements",
"information",
"inspect",
"javascript",
"pin",
"spacing",
"spec",
"speccer",
"specification",
"specifications",
"specs",
"typescript",
"typography",
"storybook",
"stories",
"react",
"hooks"
],
"homepage": "https://phun-ky.net/projects/speccer",
"bugs": {
"url": "https://github.com/phun-ky/speccer/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/phun-ky/speccer.git"
},
"funding": "https://github.com/phun-ky/speccer?sponsor=1",
"license": "MIT",
"author": "Alexander Vassbotn Røyne-Helgesen <alexander@phun-ky.net>",
"type": "module",
"main": "dist/speccer.js",
"module": "dist/speccer.esm.js",
"types": "dist/speccer.d.ts",
"files": [
"/dist/speccer.css",
"/dist/speccer.d.ts",
"/dist/speccer.esm.js",
"/dist/speccer.js",
"/dist/speccer.min.css"
],
"scripts": {
"build": "npm run clean && npm run rollup && npm run styles",
"clean": "rm -rf dist dts",
"commit": "npx git-cz",
"dev": "npx browser-sync start --server 'dev' --files 'dist' --ss 'dist'",
"docs:gen": "node ./node_modules/.bin/typedoc",
"predocs:dev": "npm run docs:gen",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"postcss": "rm -rf ./dist/speccer.min.css && postcss ./dist/speccer.css -o ./dist/speccer.min.css",
"release": "npx release-it --ci",
"prerollup:dev": "npm run clean && npm run styles",
"rollup": "rollup -c",
"rollup:dev": "rollup -c -w",
"style:code": "npx putout src",
"style:format": "./node_modules/.bin/eslint -c ./eslint.config.mjs src --fix && ./node_modules/.bin/prettier --write ./eslint.config.mjs src",
"style:lint": "./node_modules/.bin/eslint -c ./eslint.config.mjs src && ./node_modules/.bin/prettier --check src",
"styles": "npm run stylus && npm run postcss",
"stylus": "rm -rf ./dist/speccer.css && stylus ./src/styles/index.styl -o ./dist/speccer.css",
"pretest:ci": "rm -rf coverage && mkdir -p coverage",
"pretest:e2e": "rm -rf test-results && npm run build",
"test": "npm run test:unit",
"test:ci": "glob-bin -c \"node --import tsx --import global-jsdom/register --test --no-warnings --experimental-test-coverage --test-reporter=cobertura --test-reporter-destination=coverage/cobertura-coverage.xml --test-reporter=spec --test-reporter-destination=stdout\" \"./src/**/__tests__/**/*.spec.[jt]s\"",
"test:e2e": "npx playwright test",
"test:unit": "glob-bin -c \"node --import tsx --import global-jsdom/register --test --no-warnings\" \"./src/**/__tests__/**/*.spec.[jt]s\""
},
"config": {
"commitizen": {
"path": "./node_modules/git-cz"
}
},
"devDependencies": {
"@playwright/test": "^1.50.1",
"@release-it/conventional-changelog": "^11.0.0",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-terser": "^1.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.2",
"@types/jsdom": "^28.0.0",
"@types/node": "^25.0.3",
"cobertura": "^1.0.1",
"cssnano": "^8.0.1",
"eslint": "^10.0.0",
"eslint-config-phun-ky": "^2.0.0",
"git-cz": "^4.9.0",
"glob-bin": "^1.0.0",
"global-jsdom": "^29.0.0",
"globals": "^17.0.0",
"jsdom": "^29.0.0",
"postcss": "^8.5.2",
"postcss-cli": "^11.0.0",
"prettier": "^3.8.0",
"putout": "^42.0.3",
"quibble": "^0.9.1",
"release-it": "^20.0.1",
"remark-github": "^12.0.0",
"remark-toc": "^9.0.0",
"rollup": "^4.12.0",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-typescript2": "^0.37.0",
"stylus": "^0.64.0",
"ts-node": "^10.9.1",
"tslib": "^2.3.1",
"tsx": "^4.19.2",
"typedoc": "^0.28.2",
"typedoc-plugin-frontmatter": "^1.0.0",
"typedoc-plugin-markdown": "^4.2.3",
"typedoc-plugin-mdn-links": "^5.0.1",
"typedoc-plugin-no-inherit": "^1.4.0",
"typedoc-plugin-remark": "^2.0.0",
"typedoc-plugin-rename-defaults": "^0.7.1",
"typedoc-vitepress-theme": "^1.1.2",
"typescript": "^6.0.3",
"unified-prettier": "^2.0.1",
"vitepress": "^1.6.4",
"vitepress-plugin-group-icons": "^1.6.3"
},
"engines": {
"node": ">=22.9.0",
"npm": ">=11.0.0"
},
"publishConfig": {
"access": "public"
}
}