1 | {
|
---|
2 | "name": "css-in-js-utils",
|
---|
3 | "version": "3.1.0",
|
---|
4 | "description": "Useful utility functions for CSS in JS solutions",
|
---|
5 | "main": "lib/index.js",
|
---|
6 | "module": "es/index.js",
|
---|
7 | "types": "es/index.d.ts",
|
---|
8 | "jsnext:main": "es/index.js",
|
---|
9 | "sideEffects": false,
|
---|
10 | "files": [
|
---|
11 | "lib/**",
|
---|
12 | "es/**"
|
---|
13 | ],
|
---|
14 | "keywords": [
|
---|
15 | "css",
|
---|
16 | "cssinjs",
|
---|
17 | "utils",
|
---|
18 | "small"
|
---|
19 | ],
|
---|
20 | "repository": "https://github.com/robinweser/css-in-js-utils.git",
|
---|
21 | "author": "robinweser <contact@weser.io>",
|
---|
22 | "license": "MIT",
|
---|
23 | "scripts": {
|
---|
24 | "build": "yarn run clean && yarn build:es && yarn build:lib",
|
---|
25 | "build:lib": "cross-env BABEL_ENV=commonjs babel modules --extensions '.ts' --ignore 'modules/__tests__','**/*.d.ts' --out-dir lib",
|
---|
26 | "build:es": "tsc && babel es --out-dir es",
|
---|
27 | "clean": "rimraf es lib coverage",
|
---|
28 | "check": "yarn lint && yarn test:coverage",
|
---|
29 | "format": "prettier --write \"modules/**/*.{js,ts}\"",
|
---|
30 | "lint": "eslint 'modules/**/*.{js,ts}'",
|
---|
31 | "release": "git pull --rebase && yarn run check && yarn build && npm publish",
|
---|
32 | "test": "cross-env BABEL_ENV=commonjs jest",
|
---|
33 | "test:coverage": "cross-env BABEL_ENV=commonjs jest --coverage",
|
---|
34 | "watch": "yarn test -- --watch"
|
---|
35 | },
|
---|
36 | "jest": {
|
---|
37 | "moduleDirectories": [
|
---|
38 | "node_modules",
|
---|
39 | "modules"
|
---|
40 | ]
|
---|
41 | },
|
---|
42 | "dependencies": {
|
---|
43 | "hyphenate-style-name": "^1.0.3"
|
---|
44 | },
|
---|
45 | "devDependencies": {
|
---|
46 | "@babel/cli": "^7.8.4",
|
---|
47 | "@babel/core": "^7.9.0",
|
---|
48 | "@babel/preset-env": "^7.9.5",
|
---|
49 | "@babel/preset-typescript": "^7.9.0",
|
---|
50 | "@types/jest": "^25.2.1",
|
---|
51 | "@typescript-eslint/eslint-plugin": "^2.26.0",
|
---|
52 | "@typescript-eslint/parser": "^2.26.0",
|
---|
53 | "babel-jest": "^25.2.6",
|
---|
54 | "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
|
---|
55 | "cross-env": "^7.0.2",
|
---|
56 | "eslint": "^6.8.0",
|
---|
57 | "eslint-config-airbnb-base": "^14.1.0",
|
---|
58 | "eslint-plugin-import": "^2.20.2",
|
---|
59 | "jest": "^25.2.6",
|
---|
60 | "prettier": "^1.7.4",
|
---|
61 | "rimraf": "^2.6.1",
|
---|
62 | "typescript": "^3.8.3"
|
---|
63 | }
|
---|
64 | }
|
---|