-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.92 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
{
"version": "4.0.2",
"name": "react-atomic-atom",
"repository": {
"type": "git",
"url": "https://github.com/react-atomic/react-atomic-atom"
},
"description": "Atomic design in React (atoms)",
"keywords": [
"react-atomic",
"react-atomic-ui",
"babel",
"cjs",
"mjs"
],
"author": "Hill <hill@kimo.com>",
"license": "MIT",
"dependencies": {
"@babel/cli": "^7.25.0",
"@babel/core": "^7.25.0",
"@babel/plugin-proposal-export-default-from": "*",
"@babel/plugin-syntax-dynamic-import": "*",
"@babel/plugin-transform-arrow-functions": "*",
"@babel/plugin-transform-class-properties": "*",
"@babel/plugin-transform-classes": "*",
"@babel/plugin-transform-logical-assignment-operators": "*",
"@babel/plugin-transform-nullish-coalescing-operator": "*",
"@babel/plugin-transform-object-assign": "*",
"@babel/plugin-transform-object-rest-spread": "*",
"@babel/plugin-transform-optional-chaining": "*",
"@babel/plugin-transform-private-methods": "*",
"@babel/plugin-transform-private-property-in-object": "*",
"@babel/plugin-transform-react-constant-elements": "*",
"@babel/plugin-transform-spread": "*",
"@babel/preset-env": "*",
"@babel/preset-react": "*",
"babel-plugin-add-module-exports": "1.0.4",
"babel-plugin-dynamic-import-node": "2.3.3",
"babel-plugin-reshow-import-extension": "*",
"babel-plugin-reshow-object-to-json-parse": "*",
"babel-plugin-reshow-transform-runtime": "*",
"babel-plugin-transform-react-pure-class-to-function": "1.0.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"reshow-constant": "*",
"reshow-runtime": "*"
},
"devDependencies": {
"react": "^18.x",
"react-dom": "^18.x",
"reshow-unit": "*"
},
"exports": {
"./babel.config": "./babel.config.js",
".": {
"require": "./build/cjs/src/index.js",
"module": "./build/es/src/index.mjs",
"import": "./build/es/src/index.mjs"
}
},
"main": "./build/cjs/src/index.js",
"module": "./build/es/src/index.mjs",
"scripts": {
"format": "prettier-eslint --write 'src/**/*.js' 'ui/**/*.js*'",
"clean": "find ./build ./types -name '*.*' | xargs rm -rf",
"build:cjs": "BABEL_ENV=cjs babel src -d build/cjs/src --ignore /**/__tests__",
"build:es": "BABEL_ENV=es babel src -d build/es/src --out-file-extension .mjs",
"build:type": "npx -p typescript tsc src/*.js src/**/*.js --declaration --allowJs --emitDeclarationOnly --skipLibCheck --declarationDir types",
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:type",
"mochaFor": "mocha -r global-jsdom/register",
"mocha": "npm run mochaFor -- 'build/es/**/__tests__/*.mjs'",
"test": "npm run build && npm run mocha",
"prepublishOnly": "npm run test"
},
"types": "./types/index.d.ts",
"files": [
"types",
"babel.config.js",
"build",
"package.json",
"README.md"
]
}