We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1c181c commit eebc657Copy full SHA for eebc657
package.json
@@ -8,6 +8,12 @@
8
"immutable"
9
],
10
"repository": "https://github.com/moment/luxon",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./src/luxon.js",
14
+ "require": "./build/node/luxon.js"
15
+ }
16
+ },
17
"scripts": {
18
"build": "babel-node tasks/buildAll.js",
19
"build-node": "babel-node tasks/buildNode.js",
@@ -21,6 +27,7 @@
21
27
"format-check": "prettier --check 'src/**/*.js' 'test/**/*.js' 'benchmarks/*.js'",
22
28
"benchmark": "babel-node benchmarks/index.js",
23
29
"codecov": "codecov",
30
+ "prepack": "babel-node tasks/buildAll.js",
24
31
"prepare": "husky install"
25
32
},
26
33
"lint-staged": {
src/package.json
@@ -0,0 +1,3 @@
1
+{
2
+ "type": "module"
3
+}
0 commit comments