forked from gajus/babel-plugin-react-css-modules
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
89 lines (89 loc) · 3.19 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
82
83
84
85
86
87
88
89
{
"version": "6.13.3",
"dependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-syntax-jsx": "^7.24.6",
"@babel/types": "^7.24.6",
"@dr.pogodin/postcss-modules-parser": "^1.2.9",
"ajv": "^8.17.1",
"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": "^7.26.4",
"@babel/eslint-parser": "^7.25.9",
"@babel/eslint-plugin": "^7.25.9",
"@babel/helper-plugin-test-runner": "^7.24.6",
"@babel/plugin-transform-flow-strip-types": "^7.25.9",
"@babel/plugin-transform-react-jsx": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/register": "^7.25.9",
"babel-jest": "^29.7.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-module-resolver": "^5.0.2",
"babel-plugin-tester": "^11.0.4",
"css-loader": "^7.1.2",
"eslint": "^8.57.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.31.0",
"flow-bin": "^0.257.1",
"jest": "^29.7.0",
"mini-css-extract-plugin": "^2.9.2",
"postcss": "^8.4.49",
"postcss-less": "^6.0.0",
"postcss-nested": "^7.0.2",
"postcss-scss": "^4.0.9",
"webpack": "^5.97.1"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/birdofpreyru"
},
"peerDependencies": {
"css-loader": ">=6",
"postcss": "^8",
"webpack": "^5"
},
"engines": {
"node": ">=18"
},
"jest": {
"modulePathIgnorePatterns": [
"/test/fixtures/"
],
"testEnvironment": "node",
"testRegex": "./test/.+\\.js$"
},
"keywords": [
"babel",
"css",
"javascript",
"modules",
"plugin",
"react",
"web"
],
"license": "BSD-3-Clause",
"main": "dist/index.js",
"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 --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 .",
"jest": "jest",
"test": "npm run lint && flow && npm run jest"
}
}