-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.65 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
{
"name": "babel-plugin-package-css-module",
"version": "0.1.0",
"description": "compile css module in npm package",
"main": "lib/index.js",
"unpkg": "dist/index.js",
"module": "es/index.js",
"typings": "types/index.d.ts",
"scripts": {
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir lib --extensions '.ts,.tsx'",
"build:es": "babel src --out-dir es --extensions '.ts,.tsx'",
"build:umd": "rollup -c",
"build": "npm run build:commonjs && npm run build:es && npm run types",
"types": "tsc --emitDeclarationOnly",
"clean": "rimraf test/lib/* test/es/* types/* lib/* es/*",
"prepublish": "npm run clean && npm run build"
},
"keywords": [
"babel plugin",
"less module"
],
"author": {
"name": "huaxiabuluo",
"email": "[email protected]"
},
"license": "MIT",
"devDependencies": {
"@babel/plugin-external-helpers": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.7.6",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.12.7",
"@babel/preset-typescript": "^7.7.4",
"@babel/register": "^7.6.0",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@rollup/plugin-replace": "^2.3.4",
"@types/babel__core": "^7.1.14",
"@types/babel__generator": "^7.6.2",
"@types/babel__traverse": "^7.11.1",
"@types/js-cookie": "^2.2.6",
"@types/less": "^3.0.2",
"@types/mkdirp": "^1.0.1",
"@types/prettier": "^1.19.1",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"core-js": "^3.4.7",
"cross-env": "^6.0.3",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"husky": "^3.1.0",
"lint-staged": "^10.5.3",
"postcss-less": "^4.0.1",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"rimraf": "^3.0.0",
"rollup": "^2.33.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"typescript": "^4.0.5"
},
"dependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.14",
"@babel/helper-module-imports": "^7.13.12",
"autoprefixer": "^10.2.5",
"less": "^4.1.1",
"mkdirp": "^1.0.4",
"postcss": "^8.2.9",
"postcss-modules": "^4.0.0"
},
"repository": {
"type": "git",
"url": "[email protected]:huaxiabuluo/babel-plugin-package-css-module.git"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./src/**/*.{js,jsx,ts,tsx}": [
"npx prettier --write",
"eslint './src/**/*.{js,jsx,ts,tsx}' --fix"
]
}
}