-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.33 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
{
"name": "unlocked-analytics",
"version": "0.1.1",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"author": "M10c",
"repository": "https://github.com/m10c/unlocked-analytics-js",
"license": "MIT",
"bugs": {
"url": "https://github.com/m10c/unlocked-analytics-js/issues"
},
"files": [
"src",
"lib",
"!**/__tests__"
],
"scripts": {
"build": "yarn build:commonjs && yarn build:module && yarn build:typescript",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src -d lib/commonjs --extensions \".ts\"",
"build:module": "babel src -d lib/module --extensions \".ts\"",
"build:typescript": "tsc --pretty --declaration --emitDeclarationOnly --outDir lib/typescript",
"clean": "rimraf lib",
"test": "yarn ts",
"ts": "tsc --noEmit",
"version": "yarn clean && yarn build"
},
"dependencies": {
"date-fns": "^2.16.1"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/preset-typescript": "^7.10.4",
"cross-env": "^7.0.2",
"rimraf": "^3.0.2",
"typescript": "^4.0.3"
}
}