-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 3.1 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
{
"name": "native-injects",
"version": "3.4.2",
"description": "Adds userful array iteration and string manipulation tools to the Array, String, and Object prototype.",
"main": "src/index.js",
"types": "src/index.d.ts",
"scripts": {
"start": "npm-run-all --parallel test:watch lint:watch",
"test": "mocha --require @babel/register --reporter mocha-multi-reporters --reporter-options configFile=test/config.json --recursive",
"test:watch": "npm run test -- --watch --watch-extensions 'js'",
"lint": "esw src tools",
"lint:watch": "npm run lint -- --watch",
"clean": "rm -rf build",
"prebuild": "npm run clean && mkdir -p build/native-injects/src && npm-run-all --parallel test lint",
"build:types": "cp src/*.d.ts build/native-injects/src",
"build:app": "babel src -d build/native-injects/src",
"build": "npm-run-all build:types --parallel build:app build:package build:copy-files --sequential build:version-file",
"build:package": "babel-node ./tools/create-package.js",
"build:copy-files": "cp README.md LICENSE.md build/native-injects",
"build:version-file": "node -e 'console.log(`exports.VERSION = \"${process.env.npm_package_version}\";`);' > build/native-injects/src/version.js",
"current-version": "node -e 'console.log(process.env.npm_package_version + (process.env.BUILD_VERSION ? `.${process.env.BUILD_VERSION}` : ``))'",
"next-patch-version": "node -e 'var split = process.env.npm_package_version.split(\".\"); console.log(`${split[0]}.${split[1]}.${parseInt(split[2]) + 1}`)'",
"next-minor-version": "node -e 'var split = process.env.npm_package_version.split(\".\"); console.log(`${split[0]}.${parseInt(split[1]) + 1}.0`)'",
"next-major-version": "node -e 'var split = process.env.npm_package_version.split(\".\"); console.log(`${parseInt(split[0]) + 1}.0.0`)'",
"patch-version-commit": "npm version `npm run --silent next-patch-version` --force -a",
"minor-version-commit": "npm version `npm run --silent next-minor-version` --force -a",
"major-version-commit": "npm version `npm run --silent next-major-version` --force -a"
},
"author": "Vlad Shlosberg",
"license": "ISC",
"repository": {
"type": "git",
"url": "https://github.com/foqal/injects"
},
"bugs": {
"url": "https://github.com/foqal/injects/issues",
"email": "[email protected]"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/node": "^7.8.7",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.9.5",
"@babel/register": "^7.9.0",
"babel-eslint": "^10.1.0",
"babel-plugin-transform-proto-to-assign": "^6.26.0",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.2",
"eslint-watch": "^6.0.1",
"expect": "^25.4.0",
"mocha": "^7.1.1",
"mocha-junit-reporter": "^1.23.3",
"mocha-multi-reporters": "^1.1.7",
"nodemon": "^2.0.3",
"npm-run-all": "^4.1.5",
"typescript": "^3.8.3"
}
}