This repository has been archived by the owner on Feb 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
101 lines (101 loc) · 2.85 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"name": "bpost",
"version": "1.0.0",
"description": "JavaScript API wrapper for bpost track & trace",
"main": "cjs/index.js",
"browser": "dist/bpost.js",
"module": "es/index.js",
"jsxnext:main": "es/index.js",
"watch": {
"lint:build:test": {
"patterns": [
"src",
"__tests__"
],
"extensions": "js",
"quiet": true
}
},
"files": [
"dist",
"cjs",
"es",
"src"
],
"jest": {
"globals": {
"ID_POSTAL": "323267009691651472",
"ID_HOME": "323267009999171004",
"ID_FALSE": "3D3267OO9691651472"
},
"notify": true,
"setupTestFrameworkScriptFile": "./__tests__/jestSetup.js",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"jestSetup.js"
]
},
"scripts": {
"precommit": "opt --out precommit --exec \"npm run lint:build:test\"",
"prepush": "opt --out prepush --exec \"npm run lint:build:test\"",
"prepublish": "npm run build",
"lint": "eslint src/*.js",
"test": "jest --coverage",
"test:ci": "npm run lint && npm test && npm run build:es && npm run build:cjs && npm run build:umd",
"test:update": "npm test -- -u",
"test:watch": "jest --onlyChanged",
"lint:build:test": "npm run lint && npm run build:cjs && npm run test",
"development": "npm-watch",
"release": "np",
"build": "npm run lint:build:test && npm run build:es && npm run build:umd",
"build:es": "rimraf es && cross-env BABEL_ENV=es babel src --out-dir es",
"build:cjs": "rimraf cjs && cross-env BABEL_ENV=cjs babel src --out-dir cjs",
"build:umd": "rimraf dist && cross-env BABEL_ENV=es rollup -c & cross-env BABEL_ENV=es NODE_ENV=production rollup -c"
},
"keywords": [
"bpost",
"post",
"api",
"belgium",
"parcel",
"package",
"tracking",
"track",
"trace"
],
"author": "Thibault Maekelbergh (thibault.maekelbergh@icloud.com)",
"license": "MIT",
"repository": "thibmaek/bpost",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.24.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"cross-env": "^4.0.0",
"eslint": "^3.19.0",
"eslint-config-devine": "^1.7.1",
"eslint-plugin-babel": "^4.1.1",
"eslint-plugin-compat": "^1.0.2",
"husky": "^0.13.3",
"jest": "^19.0.2",
"np": "^2.13.3",
"npm-watch": "^0.1.8",
"opt-cli": "^1.5.1",
"rimraf": "^2.6.1",
"rollup": "^0.41.6",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-bundle-size": "^1.0.1",
"rollup-plugin-commonjs": "^8.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-resolve-root": "^0.1.0",
"rollup-plugin-uglify": "^1.0.2"
},
"dependencies": {
"axios": "^0.16.1",
"lodash.find": "^4.6.0"
},
"engines": {
"node": ">=4.0.0"
}
}