-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
56 lines (56 loc) · 1.66 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
{
"name": "eratosthenes-primes",
"version": "0.0.3",
"description": "A simple prime number generator.",
"author": "Donovan Hutchinson",
"repository": {
"type": "git",
"url": "https://github.com/donovanh/eratosthenes-primes"
},
"keywords": [
"prime numbers",
"demo app",
"Sieve of Eratosthenes"
],
"license": "MIT",
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"browser": "dist/browser/primes.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist/**/*",
"README.md"
],
"sideEffects": false,
"scripts": {
"build": "npm run build:module && npm run build:node && npm run build:browser && npm run build:demos",
"build:module": "tsc --project ./tsconfig.module.json",
"build:node": "tsc --project ./tsconfig.node.json",
"build:browser": "rollup -c",
"build:demos": "cp -R ./dist/ ./demos/js",
"test": "jest",
"watch": "npm test -- --watch",
"format": "prettier --write \"src/**/*.ts\"",
"lint": "tslint -p tsconfig.node.json && tslint -p tsconfig.module.json",
"prepare": "npm run build",
"prepublishOnly": "npm test && npm run lint",
"preversion": "npm run lint",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"web": "gh-pages -d demos"
},
"devDependencies": {
"@babel/preset-env": "^7.16.7",
"@types/jest": "^27.4.0",
"babel-jest": "^27.4.6",
"gh-pages": "^3.2.3",
"jest": "^27.4.7",
"prettier": "^2.5.1",
"rollup": "^2.63.0",
"rollup-plugin-uglify": "^6.0.4",
"ts-jest": "^27.1.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.5.4"
}
}