-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
68 lines (68 loc) · 2.25 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
{
"version": "0.18.0",
"name": "reshow",
"repository": {
"type": "git",
"url": "https://github.com/react-atomic/reshow"
},
"homepage": "https://github.com/react-atomic/reshow",
"description": "A simplified React cross-component state management.",
"keywords": [
"react-atomic",
"react-atomic-ui",
"reshow"
],
"author": "Hill <hill@kimo.com>",
"license": "ISC",
"dependencies": {
"call-func": "*",
"get-storage": "*",
"getoffset": "*",
"memoize-one": "*",
"organism-react-ajax": "*",
"organism-react-popup": "*",
"react-atomic-molecule": "*",
"reshow-constant": "*",
"reshow-flux": "*",
"reshow-return": "*",
"reshow-runtime": ">=0.17.4",
"seturl": "*",
"smooth-scroll-to": "*",
"superagent": "8.0.9",
"with-array": "*"
},
"devDependencies": {
"lerna": "^7.0.0",
"react": "^18.x",
"react-dom": "^18.x",
"reshow-unit": "*"
},
"exports": {
"types": "./types/index.d.ts",
"require": "./build/cjs/index.js",
"import": "./build/es/index.mjs"
},
"main": "./build/cjs/index.js",
"module": "./build/es/index.mjs",
"scripts": {
"up-all": "lerna exec yarn upgrade",
"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 --ignore /**/__tests__",
"build:es": "BABEL_ENV=es babel src -d build/es --out-file-extension .mjs",
"build:type": "npx -p typescript tsc src/*.js src/**/*.js src/ui/**/*.jsx --jsx react-jsx --declaration --allowJs --emitDeclarationOnly --skipLibCheck --declarationDir types",
"build": "npm run clean && npm run build:cjs && npm run build:es && npm run build:type",
"mochaFor": "STRICT_MODE=1 mocha -r global-jsdom/register",
"mocha": "npm run mochaFor -- 'build/es/**/__tests__/*.mjs'",
"test:report": "npm run build && npm run mochaFor -- --reporter mocha-junit-reporter --reporter-options mochaFile=./test_output/mocha.xml 'build/es/**/__tests__/*.mjs'",
"test": "npm run build && npm run mocha",
"prepublishOnly": "npm run test && npm run format"
},
"types": "./types/index.d.ts",
"files": [
"types",
"build",
"package.json",
"README.md"
]
}