1 | {
|
2 | "name": "charts.css",
|
3 | "version": "1.1.0",
|
4 | "description": "Open source CSS framework for data visualization.",
|
5 | "author": "Rami Yushuvaev",
|
6 | "homepage": "https://ChartsCSS.org/",
|
7 | "license": "MIT",
|
8 | "keywords": [
|
9 | "css",
|
10 | "html",
|
11 | "css-framework",
|
12 | "charts",
|
13 | "chart",
|
14 | "scss",
|
15 | "ui-component"
|
16 | ],
|
17 | "main": "dist/charts.min.css",
|
18 | "files": [
|
19 | "dist/charts.css",
|
20 | "dist/charts.css.map",
|
21 | "dist/charts.min.css"
|
22 | ],
|
23 | "scripts": {
|
24 | "build": "npm-run-all css-compile css-prefixes css-selectors-merge css-minify css-minify-fix test:copy-css",
|
25 | "css-compile": "sass --style=expanded src/charts.scss:dist/charts.css",
|
26 | "css-prefixes": "postcss dist/charts.css --use autoprefixer --output dist/charts.css",
|
27 | "css-selectors-merge": "postcss dist/charts.css --use postcss-merge-selectors --output dist/charts.css",
|
28 | "css-minify": "postcss dist/charts.css --use cssnano --no-map --output dist/charts.min.css",
|
29 | "css-minify-fix": "postcss dist/charts.min.css --use postcss-pseudo-element-colons --no-map --output dist/charts.min.css",
|
30 | "watch": "nodemon -e scss,html --watch src --exec \"npm run build\"",
|
31 | "scss-lint": "stylelint \"**/*.scss\"",
|
32 | "test": "npm-run-all build test:copy-css test:run",
|
33 | "test:copy-css": "postcss dist/charts.min.css --use postcss-pseudo-element-colons --no-map --output tests/playwright/charts.min.css",
|
34 | "test:snapshots": "playwright test --update-snapshots --trace off",
|
35 | "test:run": "playwright test -c tests/playwright.config.ts"
|
36 | },
|
37 | "repository": {
|
38 | "type": "git",
|
39 | "url": "git+https://github.com/ChartsCSS/charts.css.git"
|
40 | },
|
41 | "bugs": {
|
42 | "url": "https://github.com/ChartsCSS/charts.css/issues"
|
43 | },
|
44 | "devDependencies": {
|
45 | "@playwright/test": "^1.37.1",
|
46 | "autoprefixer": "^10.4.14",
|
47 | "cssnano": "^6.0.1",
|
48 | "dotenv": "^16.3.1",
|
49 | "nodemon": "^3.0.1",
|
50 | "npm-run-all": "^4.1.5",
|
51 | "postcss": "^8.4.27",
|
52 | "postcss-cli": "^10.1.0",
|
53 | "postcss-merge-selectors": "^0.0.6",
|
54 | "postcss-pseudo-element-colons": "^1.0.2",
|
55 | "sass": "^1.65.1",
|
56 | "stylelint": "^15.10.2",
|
57 | "stylelint-config-standard-scss": "^10.0.0"
|
58 | },
|
59 | "cssnano": {
|
60 | "preset": [
|
61 | "default",
|
62 | {
|
63 | "calc": false,
|
64 | "discardComments": {
|
65 | "removeAll": true
|
66 | }
|
67 | }
|
68 | ]
|
69 | },
|
70 | "browserslist": [
|
71 | ">1%",
|
72 | "not dead",
|
73 | "not ie >= 0",
|
74 | "not op_mini all",
|
75 | "last 2 versions"
|
76 | ]
|
77 | }
|