/
package.json
executable file
·81 lines (81 loc) · 2.84 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "@phntms/css-components",
"description": "At its core, css-components is a simple wrapper around standard CSS. It allows you to write your CSS how you wish then compose them into a component ready to be used in React.",
"version": "0.4.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"homepage": "https://github.com/phantomstudios/css-components#readme",
"repository": {
"type": "git",
"url": "https://github.com/phantomstudios/css-components.git"
},
"bugs": {
"url": "https://github.com/phantomstudios/css-components/issues"
},
"keywords": [
"react",
"css",
"styling",
"components"
],
"bin": {
"css-components": "lib/cli/index.js"
},
"scripts": {
"build": "tsc && npm run build:shebang",
"build:types": "tsc --emitDeclarationOnly",
"build:shebang": "echo '#!/usr/bin/env node' | cat - ./lib/cli/index.js > temp && mv temp ./lib/cli/index.js",
"prepublishOnly": "npm run build",
"test": "jest --verbose",
"test:watch": "jest --verbose --watch",
"test:cli": "npm run build && node lib/cli/index.js --css \"test/**/*.{css,scss}\"",
"test:cli-css": "npm run build && node lib/cli/index.js --css \"test/**/*.css\"",
"test:cli-scss": "npm run build && node lib/cli/index.js --css \"test/**/*.scss\"",
"coverage": "jest --coverage",
"lint": "NODE_ENV=test npm-run-all --parallel lint:*",
"lint:js": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
"lint:format": "prettier \"**/*.{md,html,yaml,yml}\" --check",
"lint:type-check": "tsc --noEmit",
"fix": "npm-run-all --sequential fix:*",
"fix:js": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"fix:format": "prettier \"**/*.{md,html,yaml,yml}\" --write",
"depcheck": "npx npm-check --update"
},
"author": "John Chipps-Harding (john.chipps-harding@phntms.com)",
"license": "MIT",
"peerDependencies": {
"react": ">=16.8.0"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/glob": "^8.0.0",
"@types/jest": "^29.2.3",
"@types/react": "^18.0.25",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"expect-type": "^0.15.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "^29.0.3",
"typescript": "^4.9.3"
},
"dependencies": {
"glob": "^8.0.3",
"glob-promise": "^6.0.2",
"sass": "^1.62.0",
"yargs": "^17.6.2"
}
}