-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.67 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": "@audienceproject/data-web",
"version": "1.4.0",
"description": "AudienceProject Data services for your websites",
"main": "dist/audienceproject-data-web.js",
"type": "module",
"exports": {
"import": "./audienceproject-data-web.js",
"require": "./dist/audienceproject-data-web.js"
},
"repository": {
"type": "git",
"url": "https://github.com/audienceproject/audienceproject-data-web.git"
},
"author": "AudienceProject",
"license": "Apache-2.0",
"scripts": {
"lint": "eslint .",
"test": "ava --verbose",
"build": "babel --out-file dist/audienceproject-data-web.js audienceproject-data-web.js",
"compress": "uglifyjs --compress --mangle --output dist/audienceproject-data-web.min.js dist/audienceproject-data-web.js",
"prepublishOnly": "npm run lint && npm run test && npm run build && npm run compress",
"watch:build": "nodemon --quiet --on-change-only --watch audienceproject-data-web.js --exec 'npm run build && npm run compress'",
"watch:test": "nodemon --quiet --on-change-only --watch test.js --exec 'npm run test'",
"serve": "http-server --silent --no-dotfiles -c-1 -o",
"dev": "npm run prepublishOnly && (npm-run-all --parallel watch:* serve)"
},
"devDependencies": {
"@babel/cli": "7.14.8",
"@babel/core": "7.15.0",
"@babel/preset-env": "7.15.0",
"ava": "3.15.0",
"babel-plugin-add-module-exports": "1.0.4",
"es6-promise": "4.2.8",
"eslint": "7.32.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-plugin-compat": "3.11.1",
"eslint-plugin-import": "2.24.0",
"http-server": "13.0.0",
"nodemon": "2.0.12",
"npm-run-all": "4.1.5",
"uglify-js": "3.14.1"
}
}