-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
36 lines (36 loc) · 1.15 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
{
"name": "@neaps/tide-predictor",
"version": "0.1.1",
"description": "Tide predictor",
"repository": "https://github.com/neaps/tide-predictor",
"author": "Kevin Miller <[email protected]>",
"license": "MIT",
"type": "module",
"module": "./src/index.js",
"browser": "./dist/web/tide-predictor.js",
"commonjs": "./dist/commonjs/index.js",
"exports": {
".": {
"import": "./src/index.js",
"require": "./dist/commonjs/index.js"
}
},
"devDependencies": {
"c8": "^7.11.3",
"eslint": "^8.18.0",
"mocha": "^10.0.0",
"npm-run-all": "^4.1.5",
"rollup-plugin-node-resolve": "^5.2.0",
"uglify-js": "^3.16.1"
},
"scripts": {
"test": "mocha --recursive",
"lint": "eslint ./src",
"coverage": "c8 --reporter=lcov mocha --recursive && codecov",
"ci": "run-s lint test coverage",
"build:rollup": "rollup --config rollup.config.js",
"build:uglify": "uglifyjs ./dist/web/tide-predictor.js -o ./dist/web/tide-predictor.min.js",
"build:commonDist": "echo \"{\\\"type\\\":\\\"commonjs\\\"}\" > ./dist/commonjs/package.json",
"build": "run-s build:rollup build:commonDist build:uglify"
}
}