forked from birdofpreyru/babel-plugin-react-css-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.38 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
{
"dependencies": {
"@babel/plugin-syntax-jsx": "^7.16.7",
"@babel/types": "^7.17.0",
"@dr.pogodin/postcss-modules-parser": "^1.2.5",
"ajv": "^8.11.0",
"ajv-keywords": "^5.1.0",
"cssesc": "^3.0.0",
"loader-utils": "^2.0.2",
"postcss-modules": "^4.3.1",
"postcss-modules-extract-imports": "^3.0.0",
"postcss-modules-local-by-default": "^4.0.0",
"postcss-modules-scope": "^3.0.0",
"postcss-modules-values": "^4.0.0"
},
"description": "Transforms styleName to className using compile time CSS module resolution.",
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.8",
"@babel/helper-plugin-test-runner": "^7.16.7",
"@babel/plugin-transform-flow-strip-types": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"@babel/register": "^7.17.7",
"@babel/template": "^7.16.7",
"babel-jest": "^27.5.1",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-tester": "^10.1.0",
"eslint": "^8.12.0",
"eslint-config-canonical": "^33.0.1",
"flow-bin": "^0.174.1",
"jest": "^27.5.1",
"postcss": "^8.4.12",
"postcss-less": "^6.0.0",
"postcss-nested": "^5.0.6",
"postcss-scss": "^4.0.3"
},
"peerDependencies": {
"postcss": "^8.4.12"
},
"engines": {
"node": ">=12.x"
},
"jest": {
"modulePathIgnorePatterns": [
"/test/fixtures/"
],
"testEnvironment": "node",
"testRegex": "./test/.+\\.js$"
},
"keywords": [
"babel-plugin",
"css-modules"
],
"license": "BSD-3-Clause",
"main": "dist/index.js",
"name": "@ocsoft/babel-plugin-react-css-modules",
"repository": {
"type": "git",
"url": "https://github.com/bhsw/babel-plugin-react-css-modules"
},
"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 --config-file ./babel-browser.config.json && 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 --config-file ./babel-browser.config.json",
"lint": "eslint ./src",
"test": "npm run lint && flow && jest"
},
"version": "6.2.3"
}