1 | {
|
2 | "author": {
|
3 | "email": "gajus@gajus.com",
|
4 | "name": "Gajus Kuizinas",
|
5 | "url": "http://gajus.com"
|
6 | },
|
7 | "dependencies": {
|
8 | "@babel/plugin-syntax-jsx": "^7.0.0",
|
9 | "@babel/types": "^7.0.0",
|
10 | "ajv": "^6.5.3",
|
11 | "ajv-keywords": "^3.2.0",
|
12 | "generic-names": "^2.0.1",
|
13 | "postcss": "^7.0.2",
|
14 | "postcss-modules": "^1.3.2",
|
15 | "postcss-modules-extract-imports": "^1.2.0",
|
16 | "postcss-modules-local-by-default": "^1.2.0",
|
17 | "postcss-modules-parser": "^1.1.1",
|
18 | "postcss-modules-scope": "^1.1.0",
|
19 | "postcss-modules-values": "^1.3.0"
|
20 | },
|
21 | "description": "Transforms styleName to className using compile time CSS module resolution.",
|
22 | "devDependencies": {
|
23 | "@babel/cli": "^7.0.0",
|
24 | "@babel/core": "^7.0.0",
|
25 | "@babel/helper-plugin-test-runner": "^7.0.0",
|
26 | "@babel/plugin-transform-flow-strip-types": "^7.0.0",
|
27 | "@babel/plugin-transform-modules-commonjs": "^7.1.0",
|
28 | "@babel/preset-env": "^7.0.0",
|
29 | "@babel/register": "^7.0.0",
|
30 | "babel-core": "^7.0.0-bridge.0",
|
31 | "babel-jest": "^23.6.0",
|
32 | "babel-plugin-module-resolver": "^3.2.0",
|
33 | "babel-plugin-tester": "^5.5.1",
|
34 | "eslint": "^5.5.0",
|
35 | "eslint-config-canonical": "^12.0.0",
|
36 | "flow-bin": "^0.80.0",
|
37 | "husky": "^1.0.0-rc.13",
|
38 | "jest": "^23.5.0",
|
39 | "postcss-less": "^2.0.0",
|
40 | "postcss-nested": "^3.0.0",
|
41 | "postcss-scss": "^2.0.0",
|
42 | "semantic-release": "^15.9.12"
|
43 | },
|
44 | "engines": {
|
45 | "node": ">8.0.0"
|
46 | },
|
47 | "husky": {
|
48 | "hooks": {
|
49 | "pre-commit": "npm run test && npm run lint"
|
50 | }
|
51 | },
|
52 | "jest": {
|
53 | "modulePathIgnorePatterns": [
|
54 | "/test/fixtures/"
|
55 | ],
|
56 | "testEnvironment": "node",
|
57 | "testRegex": "./test/.+\\.js$"
|
58 | },
|
59 | "keywords": [
|
60 | "babel-plugin",
|
61 | "css-modules"
|
62 | ],
|
63 | "license": "BSD-3-Clause",
|
64 | "main": "dist/index.js",
|
65 | "name": "babel-plugin-react-css-modules",
|
66 | "repository": {
|
67 | "type": "git",
|
68 | "url": "https://github.com/gajus/babel-plugin-react-css-modules"
|
69 | },
|
70 | "scripts": {
|
71 | "build": "rm -fr ./dist && NODE_ENV=production babel ./src --out-dir ./dist --source-maps --copy-files && npm run build-helper",
|
72 | "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",
|
73 | "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",
|
74 | "lint": "eslint ./src && flow",
|
75 | "test": "jest"
|
76 | },
|
77 | "version": "5.2.5"
|
78 | }
|