-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
42 lines (42 loc) · 1.32 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
{
"name": "insert-analytics-elements",
"version": "0.0.4",
"description": "Easily insert analytics elements into the DOM",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean": "./node_modules/.bin/rimraf ./dist",
"copypackage": "cp package.json dist",
"copyreadme": "cp README.md dist",
"build:before": "npm run clean",
"build:after": "npm run copypackage && npm run copyreadme",
"build": "npm run build:before && tsc && npm run build:after",
"dist": "npm run build && cd dist && npm publish",
"test": "./node_modules/.bin/mocha -r ./node_modules/ts-node/register 'test/**/test.ts' --reporter spec",
"preversion": "npm test",
"version": "npm run build && git add -A dist",
"postversion": "git push && git push --tags",
"prepublish": "cd dist"
},
"keywords": [
"analytics"
],
"author": "Mike Zrimsek <[email protected]>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mzrimsek/insert-analytics-elements.git"
},
"devDependencies": {
"@types/chai": "^4.1.3",
"@types/jsdom": "^11.0.4",
"@types/mocha": "^5.2.0",
"@types/node": "^9.6.8",
"chai": "^4.1.2",
"jsdom": "^11.10.0",
"mocha": "^5.1.1",
"rimraf": "^2.6.2",
"ts-node": "^5.0.1",
"typescript": "^2.8.3"
}
}