UNPKG

3.08 kBJSONView Raw
1{
2 "type": "module",
3 "name": "@cupcake-ds/cc-props",
4 "license": "MIT",
5 "version": "0.1.1",
6 "repository": {
7 "type": "git",
8 "url": "https://github.com/jeaster12/open-props"
9 },
10 "publishConfig": {
11 "access": "public"
12 },
13 "keywords": [
14 "css",
15 "utilities",
16 "variables",
17 "custom properties",
18 "gradients"
19 ],
20 "style": "cc-props.min.css",
21 "source": "src/index.js",
22 "main": "dist/cc-props.cjs",
23 "unpkg": "cc-props.min.css",
24 "module": "dist/cc-props.module.js",
25 "exports": {
26 ".": {
27 "import": "./dist/cc-props.module.js",
28 "require": "./dist/cc-props.cjs",
29 "default": "./dist/cc-props.cjs"
30 },
31 "./style": "./cc-props.min.css",
32 "./postcss/style": "./src/index.css",
33 "./borders": "./borders.min.css",
34 "./colors": "./colors.min.css",
35 "./colors-brand": "./colors.brand.min.css",
36 "./global": "./global.min.css",
37 "./fonts": "./fonts.min.css",
38 "./media": "./media.min.css",
39 "./shadows": "./shadows.min.css",
40 "./sizes": "./sizes.min.css",
41 "./zindex": "./zindex.min.css",
42 "./json": "./cc-props.tokens.json",
43 "./tokens": "./cc-props.tokens.json",
44 "./design-tokens": "./cc-props.tokens.json"
45 },
46 "browserslist": [
47 "defaults"
48 ],
49 "scripts": {
50 "build": "npm run gen:op",
51 "test": "ava test/basic.test.cjs",
52 "pre-deploy": "npm run build && npm run bundle",
53 "bundle": "concurrently npm:lib:*",
54 "bundle:pre-edit": "json -I -f package.json -e \"this.unpkg=''\"",
55 "bundle:post-edit": "json -I -f package.json -e \"this.unpkg='cc-props.min.css'\"",
56 "gen:op": "cd src && node _create-props.js '' true",
57 "gen:nowhere": "cd src && node _create-props.js '' false",
58 "gen:prefixed": "cd src && node _create-props.js 'op'",
59 "lib:js": "npm run bundle:pre-edit && microbundle --no-sourcemap && npm run bundle:post-edit",
60 "lib:all": "postcss src/index.css -o cc-props.min.css",
61 "lib:normalize": "postcss src/extra/normalize.css -o normalize.min.css",
62 "lib:borders": "postcss src/props.borders.css -o borders.min.css",
63 "lib:global": "postcss src/props.global.css -o global.min.css",
64 "lib:fonts": "postcss src/props.fonts.css -o fonts.min.css",
65 "lib:media": "postcss src/props.media.css -o media.min.css",
66 "lib:shadows": "postcss src/props.shadows.css -o shadows.min.css",
67 "lib:sizes": "postcss src/props.sizes.css -o sizes.min.css",
68 "lib:supports": "postcss src/props.supports.css -o supports.min.css",
69 "lib:zindex": "postcss src/props.zindex.css -o zindex.min.css",
70 "lib:colors": "postcss src/props.colors.css -o colors.min.css",
71 "lib:colors:brand": "postcss src/props.colors.brand.css -o colors-brand.min.css"
72 },
73 "devDependencies": {
74 "ava": "^3.15.0",
75 "concurrently": "^6.2.1",
76 "cssnano": "^5.0.8",
77 "json": "^11.0.0",
78 "microbundle": "^0.13.3",
79 "open-color": "^1.9.1",
80 "postcss": "^8.3.9",
81 "postcss-cli": "^8.3.1",
82 "postcss-combine-duplicated-selectors": "^10.0.3",
83 "postcss-import": "^14.0.2",
84 "postcss-preset-env": "6.7.x"
85 }
86}