forked from gajus/babel-plugin-react-css-modules
-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 3.23 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 3.23 KB
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
82
83
84
85
86
87
88
89
{
"version": "7.0.5",
"dependencies": {
"@babel/core": "^8.0.1",
"@babel/plugin-syntax-jsx": "^8.0.1",
"@babel/traverse": "^8.0.0",
"@babel/types": "^8.0.0",
"@dr.pogodin/postcss-modules-parser": "^1.3.3",
"ajv": "^8.20.0",
"ajv-keywords": "^5.0.0",
"cssesc": "^3.0.0",
"loader-utils": "^3.3.1",
"postcss-modules-extract-imports": "^3.1.0",
"postcss-modules-local-by-default": "^4.2.0",
"postcss-modules-scope": "^3.2.1",
"postcss-modules-values": "^4.0.0"
},
"description": "Transforms styleName to className using compile time CSS module resolution.",
"devDependencies": {
"@babel/cli": "^8.0.4",
"@babel/helper-plugin-test-runner": "^8.0.0",
"@babel/plugin-transform-flow-strip-types": "^8.0.1",
"@babel/preset-env": "^8.0.2",
"@babel/register": "^8.0.1",
"@dr.pogodin/eslint-configs": "^0.3.1",
"@tsconfig/recommended": "^1.0.13",
"babel-jest": "^30.4.1",
"@dr.pogodin/babel-plugin-add-import-extension": "^2.3.2",
"babel-plugin-external-helpers": "npm:@babel/plugin-external-helpers@^8.0.1",
"babel-plugin-module-resolver": "^5.0.3",
"babel-plugin-transform-import-meta": "^3.0.0",
"css-loader": "^7.1.4",
"flow-bin": "^0.261.2",
"jest": "^30.4.2",
"mini-css-extract-plugin": "^2.10.2",
"postcss": "^8.5.20",
"postcss-less": "^6.0.0",
"postcss-nested": "^7.0.2",
"postcss-scss": "^4.0.9",
"webpack": "5.107.2"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/birdofpreyru"
},
"peerDependencies": {
"css-loader": ">=6",
"postcss": "8",
"webpack": "5"
},
"engines": {
"node": ">=22"
},
"keywords": [
"babel",
"css",
"javascript",
"modules",
"plugin",
"react",
"web"
],
"license": "BSD-3-Clause",
"name": "@dr.pogodin/babel-plugin-react-css-modules",
"homepage": "https://dr.pogodin.studio/docs/babel-plugin-react-css-modules",
"repository": "github:birdofpreyru/babel-plugin-react-css-modules",
"bugs": {
"url": "https://github.com/birdofpreyru/babel-plugin-react-css-modules/issues"
},
"scripts": {
"build": "rm -fr ./dist && NODE_ENV=production babel ./src --config-file ./babel.module.config.mjs --out-dir ./dist --source-maps --copy-files && npm run build-helper",
"build-helper": "mkdir -p ./dist/browser && NODE_ENV=production babel ./src/getClassName.js --out-file ./dist/browser/getClassName.js --source-maps --no-babelrc --plugins @babel/plugin-transform-modules-commonjs,@babel/plugin-transform-flow-strip-types --presets @babel/preset-env && npm run build-schema-helper",
"build-schema-helper": "mkdir -p ./dist/browser/schemas && NODE_ENV=production babel ./src/schemas/optionsDefaults.js --out-file ./dist/browser/schemas/optionsDefaults.js --source-maps --no-babelrc --plugins @babel/plugin-transform-modules-commonjs,@babel/plugin-transform-flow-strip-types --presets @babel/preset-env",
"lint": "eslint --cache",
"jest": "jest --no-cache",
"test": "npm run lint && flow && npm run jest"
},
"exports": {
".": {
"types": "./index.d.ts",
"default": "./dist/index.js"
},
"./utils": {
"types": "./utils.d.ts",
"default": "./dist/utils.js"
}
},
"type": "module"
}