-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
50 lines (50 loc) · 1.37 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
{
"version": "1.7.2",
"name": "i13n",
"repository": {
"type": "git",
"url": "https://github.com/react-atomic/i13n"
},
"description": "i13n util",
"keywords": [
"i13n"
],
"author": "Hill <[email protected]>",
"license": "MIT",
"dependencies": {
"get-object-value": "*",
"get-random-id": "*",
"get-storage": "*",
"reshow-constant": "*",
"reshow-flux-base": "*",
"reshow-runtime": "*",
"set-object-value": "*",
"seturl": "*"
},
"devDependencies": {
"react-atomic-atom": "*",
"reshow-unit-dom": "*"
},
"exports": {
"require": "./build/cjs/src/index.js",
"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/**/*.jsx'",
"clean": "find ./build -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": "npm run clean && npm run build:cjs && npm run build:es",
"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"
},
"files": [
"build",
"package.json",
"README.md"
]
}